Returns the cached change amount of a wallet transaction.
Declared in <wallet/receive.h>
CAmount
CachedTxGetChange(
CWallet const& wallet,
CWalletTx const& wtx);
The change amount.
| Name | Description |
|---|---|
| wallet | The wallet that owns the transaction. |
| wtx | The wallet transaction to evaluate. |