Function libindy_sys::indy_submit_request[][src]

pub unsafe extern "C" fn indy_submit_request(
    command_handle: indy_handle_t,
    pool_handle: indy_handle_t,
    request_json: *const c_char,
    str: indy_str_cb
) -> indy_error_t

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*