[][src]Function indyrs::payments::build_set_txn_fees_req

pub fn build_set_txn_fees_req(
    wallet_handle: IndyHandle,
    submitter_did: Option<&str>,
    payment_method: &str,
    fees_json: &str
) -> Box<dyn Future<Item = String, Error = IndyError>>

Builds Indy request for setting fees for transactions in the ledger

Arguments

  • wallet_handle - wallet handle
  • submitter_did - DID of request sender
  • payment_method
  • fees_json - { txnType1: amount1, txnType2: amount2, ................. txnTypeN: amountN, }

Returns

  • set_txn_fees_json - Indy request for setting fees for transactions in the ledger