[−][src]Function indyrs::payments::build_set_txn_fees_req
pub fn build_set_txn_fees_req(
wallet_handle: WalletHandle,
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 handlesubmitter_did
- DID of request senderpayment_method
fees_json
- { txnType1: amount1, txnType2: amount2, ................. txnTypeN: amountN, }
Returns
set_txn_fees_json
- Indy request for setting fees for transactions in the ledger