Function libindy_sys::indy_build_mint_req[][src]

pub unsafe extern "C" fn indy_build_mint_req(
    command_handle: indy_handle_t,
    wallet_handle: indy_handle_t,
    submitter_did: *const c_char,
    outputs_json: *const c_char,
    extra: *const c_char,
    cb: indy_str_str_cb
) -> indy_error_t

Builds Indy request for doing minting according to this payment method.

#Params command_handle: Command handle to map callback to caller context. wallet_handle: wallet handle submitter_did: (Optional) DID of request sender outputs_json: The list of outputs as json array: [{ recipient: , // payment address of recipient amount: , // amount }] extra: // optional information for payment operation

#Returns mint_req_json - Indy request for doing minting payment_method - used payment method