Function tari_wallet_ffi::pending_outbound_transaction_get_fee[][src]

#[no_mangle]pub unsafe extern "C" fn pending_outbound_transaction_get_fee(
    transaction: *mut TariPendingOutboundTransaction,
    error_out: *mut c_int
) -> c_ulonglong

Gets the fee of a TariPendingOutboundTransaction

Arguments

transaction - The pointer to a TariPendingOutboundTransaction error_out - Pointer to an int which will be modified to an error code should one occur, may not be null. Functions as an out parameter.

Returns

c_ulonglong - Returns the fee, note that it will be zero if transaction is null

Safety

None