[][src]Function indyrs::ledger::build_get_revoc_reg_delta_request

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

Builds a GET_REVOC_REG_DELTA request. Request to get the delta of the accumulated state of the Revocation Registry. The Delta is defined by from and to timestamp fields. If from is not specified, then the whole state till to will be returned.

Arguments

  • submitter_did - DID of the read request sender.
  • revoc_reg_def_id - ID of the corresponding Revocation Registry Definition in ledger.
  • from - Requested time represented as a total number of seconds from Unix Epoch
  • to - Requested time represented as a total number of seconds from Unix Epoch

Returns

Request result as json.