pub fn build_mint_req_timeout(wallet_handle: IndyHandle, submitter_did: &str, outputs_json: &str, extra: Option<&str>, timeout: Duration) -> Result<(String, String), ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string_string();

        let err = Payment::_build_mint_req(command_handle, wallet_handle, submitter_did, outputs_json, extra, cb);

        ResultHandler::two_timeout(err, receiver, timeout)
    }
/// 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
///   }]
/// * `timeout` - the maximum time this function waits for a response
///
/// # Returns
/// * `mint_req_json`  - Indy request for doing tokens minting
/// * `payment_method` 
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_timeout(wallet_handle: IndyHandle, submitter_did: &str, outputs_json: &str, extra: Option<&str>, timeout: Duration) -> Result<(String, String), ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string_string();
        let err = Payment::_build_mint_req(command_handle, wallet_handle, submitter_did, outputs_json, extra, cb);
        ResultHandler::two_timeout(err, receiver, timeout)
    }
pub fn build_mint_req_timeout ( wallet_handle : IndyHandle , submitter_did : & str , outputs_json : & str , extra : Option < & str > , timeout : Duration ) -> Result < ( String , String ) , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string_string ( ) ; let err = Payment :: _build_mint_req ( command_handle , wallet_handle , submitter_did , outputs_json , extra , cb ) ; ResultHandler :: two_timeout ( err , receiver , timeout ) }
Builds Indy request for doing tokens minting
according to this payment method.
Builds Indy request for doing tokens minting according to this payment method .
`mint_req_json`  - Indy request for doing tokens minting
`payment_method`
` mint_req_json ` - Indy request for doing tokens minting ` payment_method `
wallet_handle
IndyHandle
submitter_did
&str
outputs_json
&str
extra
Option<&str>
timeout
Duration