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

        let err = Ledger::_build_get_revoc_reg_request(command_handle, submitter_did, revoc_reg_def_id, timestamp, cb);

        ResultHandler::one(err, receiver)
    }
/// 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` - DID of the read request sender.
/// * `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.
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.
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 .
pub fn build_get_revoc_reg_request(submitter_did: &str, revoc_reg_def_id: &str, timestamp: i64) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
        let err = Ledger::_build_get_revoc_reg_request(command_handle, submitter_did, revoc_reg_def_id, timestamp, cb);
        ResultHandler::one(err, receiver)
    }
pub fn build_get_revoc_reg_request ( submitter_did : & str , revoc_reg_def_id : & str , timestamp : i64 ) -> Result < String , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = Ledger :: _build_get_revoc_reg_request ( command_handle , submitter_did , revoc_reg_def_id , timestamp , cb ) ; ResultHandler :: one ( err , receiver ) }
Builds a GET_REVOC_REG request.
Builds a GET_REVOC_REG request .
Request result as json.
Request result as json .
submitter_did
&str
revoc_reg_def_id
&str
timestamp
i64