Returns the cached total debit of a wallet transaction.
Declared in <wallet/receive.h>
CAmount
CachedTxGetDebit(
CWallet const& wallet,
CWalletTx const& wtx,
bool avoid_reuse);
The debited amount.
| Name | Description |
|---|---|
| wallet | The wallet that owns the transaction. |
| wtx | The wallet transaction to evaluate. |
| avoid_reuse | Whether to exclude inputs from already-used addresses. |