Function indy::api::ledger::indy_submit_request
[−]
[src]
#[no_mangle]pub extern "C" fn indy_submit_request(
command_handle: i32,
pool_handle: i32,
request_json: *const c_char,
cb: Option<extern "C" fn(_: i32, _: ErrorCode, _: *const c_char)>
) -> ErrorCode
Publishes request message to validator pool (no signing, unlike sign_and_submit_request).
The request is sent to the validator pool as is. It's assumed that it's already prepared.
Params
command_handle: command handle to map callback to caller context. pool_handle: pool handle (created by open_pool_ledger). request_json: Request data json. cb: Callback that takes command result as parameter.
Returns
Request result as json.
Errors
Common* Ledger*