Function indyrs::ledger::build_get_frozen_ledgers_request
source · [−]pub fn build_get_frozen_ledgers_request(
submitter_did: &str
) -> Box<dyn Future<Item = String, Error = IndyError>>
Expand description
Request to get list of frozen ledgers.
Arguments
command_handle
: command handle to map callback to caller context.submitter_did
: (Optional) DID of the read request sender (if not provided then default Libindy DID will be used).cb
: Callback that takes command result as parameter.
Returns
Request result as json. { <ledger_id>: { “ledger”: String - Ledger root hash, “state”: String - State root hash, “seq_no”: u64 - the latest transaction seqNo for particular Node, }, … }