pub fn build_mint_req_async<F: 'static>(wallet_handle: IndyHandle, submitter_did: &str, outputs_json: &str, extra: Option<&str>, closure: F) -> ErrorCode where F: FnMut(ErrorCode, String, String) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec_string_string(Box::new(closure));

        Payment::_build_mint_req(command_handle, wallet_handle, submitter_did, outputs_json, extra, cb)
    }
/// Builds Indy request for doing tokens minting
/// according to this payment method.
///
/// # Arguments
/// * `wallet_handle` - wallet handle
/// * `submitter_did` - DID of request sender
/// * `outputs_json` - The list of UTXO outputs as json array:
///   [{
///     paymentAddress: <str>, // payment address used as output
///     amount: <int>, // amount of tokens to transfer to this payment address
///     extra: <str>, // optional data
///   }]
/// * `closure` - the closure that is called when finished
///
/// # Returns
/// * `errorcode` - errorcode from calling ffi function. The closure receives the return result
Builds Indy request for doing tokens minting
according to this payment method.
Builds Indy request for doing tokens minting according to this payment method .
pub fn build_mint_req_async<F: 'static>(wallet_handle: IndyHandle, submitter_did: &str, outputs_json: &str, extra: Option<&str>, closure: F) -> ErrorCode where F: FnMut(ErrorCode, String, String) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec_string_string(Box::new(closure));
        Payment::_build_mint_req(command_handle, wallet_handle, submitter_did, outputs_json, extra, cb)
    }
pub fn build_mint_req_async < F : ' static > ( wallet_handle : IndyHandle , submitter_did : & str , outputs_json : & str , extra : Option < & str > , closure : F ) -> ErrorCode where F : FnMut ( ErrorCode , String , String ) + Send { let ( command_handle , cb ) = ClosureHandler :: convert_cb_ec_string_string ( Box :: new ( closure ) ) ; Payment :: _build_mint_req ( command_handle , wallet_handle , submitter_did , outputs_json , extra , cb ) }
Builds Indy request for doing tokens minting
according to this payment method.
Builds Indy request for doing tokens minting according to this payment method .
`errorcode` - errorcode from calling ffi function. The closure receives the return result
` errorcode ` - errorcode from calling ffi function . The closure receives the return result
wallet_handle
IndyHandle
submitter_did
&str
outputs_json
&str
extra
Option<&str>
closure
F