[][src]Function indyrs::payments::parse_get_txn_fees_response

pub fn parse_get_txn_fees_response(
    payment_method: &str,
    resp_json: &str
) -> Box<dyn Future<Item = String, Error = IndyError>>

Parses response for Indy request for getting fees

Arguments

  • command_handle
  • payment_method
  • resp_json - response for Indy request for getting fees

Returns

  • fees_json { txnType1: amount1, txnType2: amount2, ................. txnTypeN: amountN, }