pub fn build_get_revoc_reg_delta_request(submitter_did: &str, revoc_reg_def_id: &str, from: i64, to: i64) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();

        let err = Ledger::_build_get_revoc_reg_delta_request(command_handle, submitter_did, revoc_reg_def_id, from, to, cb);

        ResultHandler::one(err, receiver)
    }
/// 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.
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.
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 .
pub fn build_get_revoc_reg_delta_request(submitter_did: &str, revoc_reg_def_id: &str, from: i64, to: i64) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
        let err = Ledger::_build_get_revoc_reg_delta_request(command_handle, submitter_did, revoc_reg_def_id, from, to, cb);
        ResultHandler::one(err, receiver)
    }
pub fn build_get_revoc_reg_delta_request ( submitter_did : & str , revoc_reg_def_id : & str , from : i64 , to : i64 ) -> Result < String , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = Ledger :: _build_get_revoc_reg_delta_request ( command_handle , submitter_did , revoc_reg_def_id , from , to , cb ) ; ResultHandler :: one ( err , receiver ) }
Builds a GET_REVOC_REG_DELTA request.
Builds a GET_REVOC_REG_DELTA request .
Request result as json.
Request result as json .
submitter_did
&str
revoc_reg_def_id
&str
from
i64
to
i64