pub fn build_get_txn_request_timeout(submitter_did: &str, ledger_type: Option<&str>, seq_no: i32, timeout: Duration) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();

        let err = Ledger::_build_get_txn_request(command_handle, submitter_did, ledger_type, seq_no, cb);
    
        ResultHandler::one_timeout(err, receiver, timeout)
    }
/// Builds a GET_TXN request. Request to get any transaction by its seq_no.
///
/// # Arguments
/// * `submitter_did` - DID of the request submitter.
/// * `seq_no` - seq_no of transaction in ledger.
/// * `ledger_type` - (Optional) type of the ledger the requested transaction belongs to:
///     DOMAIN - used default,
///     POOL,
///     CONFIG
/// * `timeout` - the maximum time this function waits for a response
///
/// # Returns
/// Request result as json.
Builds a GET_TXN request. Request to get any transaction by its seq_no.
Builds a GET_TXN request . Request to get any transaction by its seq_no .
pub fn build_get_txn_request_timeout(submitter_did: &str, ledger_type: Option<&str>, seq_no: i32, timeout: Duration) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
        let err = Ledger::_build_get_txn_request(command_handle, submitter_did, ledger_type, seq_no, cb);
        ResultHandler::one_timeout(err, receiver, timeout)
    }
pub fn build_get_txn_request_timeout ( submitter_did : & str , ledger_type : Option < & str > , seq_no : i32 , timeout : Duration ) -> Result < String , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = Ledger :: _build_get_txn_request ( command_handle , submitter_did , ledger_type , seq_no , cb ) ; ResultHandler :: one_timeout ( err , receiver , timeout ) }
Builds a GET_TXN request.
Builds a GET_TXN request .
Request result as json.
Request result as json .
submitter_did
&str
ledger_type
Option<&str>
seq_no
i32
timeout
Duration