[−][src]Function indyrs::payments::parse_get_payment_sources_with_from_response
pub fn parse_get_payment_sources_with_from_response(
payment_method: &str,
resp_json: &str
) -> Box<dyn Future<Item = (String, Option<i64>), Error = IndyError>>
Parses response for Indy request for getting UTXO list.
Arguments
payment_method
resp_json
- response for Indy request for getting UTXO list Note: this param will be used to determine payment_method
Returns
utxo_json
- parsed (payment method and node version agnostic) utxo info as json:
Examples:
sources -- [{
input: