pub fn build_get_txn_request(
    submitter_did: Option<&str>,
    ledger_type: Option<&str>,
    seq_no: i32
) -> Box<dyn Future<Item = String, Error = IndyError>>
Expand description

Builds a GET_TXN request. Request to get any transaction by its seq_no.

Arguments

submitter_did - (Optional) DID of the read request sender (if not provided then default Libindy DID will be used).

  • ledger_type - (Optional) type of the ledger the requested transaction belongs to: DOMAIN - used default, POOL, CONFIG
  • seq_no - seq_no of transaction in ledger.

Returns

Request result as json.