pub fn build_get_txn_request_async<F: 'static>(submitter_did: &str, ledger_type: Option<&str>, seq_no: i32, closure: F) -> ErrorCode where F: FnMut(ErrorCode, String) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec_string(Box::new(closure));

        Ledger::_build_get_txn_request(command_handle, submitter_did, ledger_type, seq_no, cb)
    }
/// 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
/// * `closure` - the closure that is called when finished
///
/// # Returns
/// * `errorcode` - errorcode from calling ffi function. The closure receives the return result
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_async<F: 'static>(submitter_did: &str, ledger_type: Option<&str>, seq_no: i32, closure: F) -> ErrorCode where F: FnMut(ErrorCode, String) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec_string(Box::new(closure));
        Ledger::_build_get_txn_request(command_handle, submitter_did, ledger_type, seq_no, cb)
    }
pub fn build_get_txn_request_async < F : ' static > ( submitter_did : & str , ledger_type : Option < & str > , seq_no : i32 , closure : F ) -> ErrorCode where F : FnMut ( ErrorCode , String ) + Send { let ( command_handle , cb ) = ClosureHandler :: convert_cb_ec_string ( Box :: new ( closure ) ) ; Ledger :: _build_get_txn_request ( command_handle , submitter_did , ledger_type , seq_no , cb ) }
Builds a GET_TXN request.
Builds a GET_TXN request .
`errorcode` - errorcode from calling ffi function. The closure receives the return result
` errorcode ` - errorcode from calling ffi function . The closure receives the return result
submitter_did
&str
ledger_type
Option<&str>
seq_no
i32
closure
F