Function parse_pooled_commands_query

Source
fn parse_pooled_commands_query<ID, F>(
    public_key: Option<String>,
    hashes: Option<Vec<String>>,
    ids: Option<Vec<String>>,
    id_map_fn: F,
) -> Result<PooledCommandsQuery<ID>, ConversionError>
where F: Fn(&str) -> Result<ID, Error>,
Expand description

Helper function used by Query::pooled_user_commands and Query::pooled_zkapp_commands to parse public key, transaction hashes and command ids