pub fn parse_response_with_fees(payment_method: &str, resp_json: &str) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();

        let err = Payment::_parse_response_with_fees(command_handle, payment_method, resp_json, cb);

        ResultHandler::one(err, receiver)
    }
/// Parses response for Indy request with fees.
///
/// # Arguments
/// * `payment_method`
/// * `resp_json`: response for Indy request with fees
///   Note: this param will be used to determine payment_method
///
/// # Returns
/// * `utxo_json` - parsed (payment method and node version agnostic) utxo info as json
///
/// # Example
/// utxo_json
///   [{
///      input: <str>, // UTXO input
///      amount: <int>, // amount of tokens in this input
///      extra: <str>, // optional data from payment transaction
///   }]
Parses response for Indy request with fees.
Parses response for Indy request with fees .
pub fn parse_response_with_fees(payment_method: &str, resp_json: &str) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
        let err = Payment::_parse_response_with_fees(command_handle, payment_method, resp_json, cb);
        ResultHandler::one(err, receiver)
    }
pub fn parse_response_with_fees ( payment_method : & str , resp_json : & str ) -> Result < String , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = Payment :: _parse_response_with_fees ( command_handle , payment_method , resp_json , cb ) ; ResultHandler :: one ( err , receiver ) }
Parses response for Indy request with fees.
Parses response for Indy request with fees .
`utxo_json` - parsed (payment method and node version agnostic) utxo info as json
` utxo_json ` - parsed ( payment method and node version agnostic ) utxo info as json
payment_method
&str
resp_json
&str
example
utxo_json
[{
input: , // UTXO input
amount: , // amount of tokens in this input
extra: , // optional data from payment transaction
}]
utxo_json [ { input : // UTXO input amount : // amount of tokens in this input extra : // optional data from payment transaction } ]