Returns the total change amount of a transaction.
Declared in <wallet/receive.h>
CAmount
TxGetChange(
CWallet const& wallet,
CTransaction const& tx);
The sum of the change amounts.
| Name | Description |
|---|---|
| wallet | The wallet to check against. |
| tx | The transaction to evaluate. |