Function libindy_sys::indy_parse_get_txn_fees_response[][src]

pub unsafe extern "C" fn indy_parse_get_txn_fees_response(
    command_handle: indy_handle_t,
    payment_method: *const c_char,
    resp_json: *const c_char,
    cb: indy_str_cb
) -> indy_error_t

Parses response for Indy request for getting fees

Params

command_handle: Command handle to map callback to caller context. payment_method: payment method to use resp_json: response for Indy request for getting fees

Return

fees_json { txnType1: amount1, txnType2: amount2, ................. txnTypeN: amountN, }