Function indy::api::ledger::indy_build_get_txn_request [] [src]

#[no_mangle]
pub extern "C" fn indy_build_get_txn_request(
    command_handle: i32,
    submitter_did: *const c_char,
    data: i32,
    cb: Option<extern "C" fn(_: i32, _: ErrorCode, _: *const c_char)>
) -> ErrorCode

Builds a GET_TXN request.

Params

command_handle: command handle to map callback to caller context. submitter_did: Id of Identity stored in secured Wallet. data: seq_no of transaction in ledger cb: Callback that takes command result as parameter.

Returns

Request result as json.

Errors

Common*