Function tari_wallet_ffi::wallet_get_pending_incoming_balance [−][src]
#[no_mangle]pub unsafe extern "C" fn wallet_get_pending_incoming_balance(
wallet: *mut TariWallet,
error_out: *mut c_int
) -> c_ulonglong
Gets the incoming balance from a TariWallet
. This is the uncleared balance of Tari that is
expected to come into the TariWallet
but is not yet spendable.
Arguments
wallet
- The TariWallet pointer
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
- The incoming balance, 0 if wallet is null
Safety
None