[][src]Function indyrs::payments::build_get_payment_sources_request

pub fn build_get_payment_sources_request(
    wallet_handle: WalletHandle,
    submitter_did: Option<&str>,
    payment_address: &str
) -> Box<dyn Future<Item = (String, String), Error = IndyError>>
Deprecated since 2.0.0:

please use parse_get_payment_sources_with_from_response instead

Builds Indy request for getting UTXO list for payment address according to this payment method. Deprecated. This function will be most likely be removed with Indy SDK 2.0 version

Arguments

  • wallet_handle - wallet handle
  • submitter_did - DID of request sender
  • payment_address -: target payment address

Returns

  • get_utxo_txn_json - Indy request for getting UTXO list for payment address
  • payment_method