pub fn sign_and_submit_request(pool_handle: IndyHandle, wallet_handle: IndyHandle, submitter_did: &str, request_json: &str) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();

        let err = Ledger::_sign_and_submit_request(command_handle, pool_handle, wallet_handle, submitter_did, request_json, cb);

        ResultHandler::one(err, receiver)
    }
/// Signs and submits request message to validator pool.
///
/// Adds submitter information to passed request json, signs it with submitter
/// sign key (see Crypto::sign), and sends signed request message
/// to validator pool (see Pool::write_request).
///
/// # Arguments
/// * `pool_handle` - pool handle (created by Pool::open_ledger).
/// * `wallet_handle` - wallet handle (created by Wallet::open).
/// * `submitter_did` - Id of Identity stored in secured Wallet.
/// * `request_json` - Request data json.
///
/// # Returns
/// Request result as json.
Signs and submits request message to validator pool.
Adds submitter information to passed request json, signs it with submitter
sign key , and sends signed request message
to validator pool .
Signs and submits request message to validator pool . Adds submitter information to passed request json signs it with submitter sign key and sends signed request message to validator pool .
pub fn sign_and_submit_request(pool_handle: IndyHandle, wallet_handle: IndyHandle, submitter_did: &str, request_json: &str) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
        let err = Ledger::_sign_and_submit_request(command_handle, pool_handle, wallet_handle, submitter_did, request_json, cb);
        ResultHandler::one(err, receiver)
    }
pub fn sign_and_submit_request ( pool_handle : IndyHandle , wallet_handle : IndyHandle , submitter_did : & str , request_json : & str ) -> Result < String , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = Ledger :: _sign_and_submit_request ( command_handle , pool_handle , wallet_handle , submitter_did , request_json , cb ) ; ResultHandler :: one ( err , receiver ) }
Signs and submits request message to validator pool.
Signs and submits request message to validator pool .
Request result as json.
Request result as json .
pool_handle
IndyHandle
wallet_handle
IndyHandle
submitter_did
&str
request_json
&str