wallet::CWallet::GetDebit

Compute the total amount debited from this wallet by a transaction's inputs.

Synopsis

Declared in <wallet/wallet.h>

CAmount
GetDebit(CTransaction const& tx) const;

Return Value

The total debit amount.

Parameters

NameDescription
txThe transaction to value.