Function libindy_sys::indy_build_get_txn_request[][src]

pub unsafe extern "C" fn indy_build_get_txn_request(
    command_handle: indy_handle_t,
    submitter_did: *const c_char,
    ledger_type: *const c_char,
    data: indy_i32_t,
    str: indy_str_cb
) -> indy_error_t

Builds a GET_TXN request. Request to get any transaction by its seq_no.

#Params command_handle: command handle to map callback to caller context. submitter_did: (Optional) DID of the read request sender (if not provided then default Libindy DID will be used). ledger_type: (Optional) type of the ledger the requested transaction belongs to: DOMAIN - used default, POOL, CONFIG any number seq_no: seq_no of transaction in ledger. cb: Callback that takes command result as parameter.

#Returns Request result as json.

#Errors Common*