Function indyrs::ledger::build_get_revoc_reg_request[][src]

pub fn build_get_revoc_reg_request(
    submitter_did: Option<&str>,
    revoc_reg_def_id: &str,
    timestamp: i64
) -> Box<dyn Future<Item = String, Error = IndyError>>

Builds a GET_REVOC_REG request. Request to get the accumulated state of the Revocation Registry by ID. The state is defined by the given timestamp.

Arguments

  • submitter_did - (Optional) DID of the read request sender (if not provided then default Libindy DID will be used).
  • revoc_reg_def_id - ID of the corresponding Revocation Registry Definition in ledger.
  • timestamp - Requested time represented as a total number of seconds from Unix Epoch

Returns

Request result as json.