[#wallet-CachedTxGetChange] = xref:wallet.adoc[wallet]::CachedTxGetChange :relfileprefix: ../ :mrdocs: Returns the cached change amount of a wallet transaction. == Synopsis Declared in `<wallet/receive.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CAmount.adoc[CAmount] CachedTxGetChange( xref:wallet/CWallet.adoc[CWallet] const& wallet, xref:wallet/CWalletTx.adoc[CWalletTx] const& wtx); ---- == Return Value The change amount. == Parameters [cols="1,4"] |=== | Name| Description | *wallet* | The wallet that owns the transaction. | *wtx* | The wallet transaction to evaluate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#