[#wallet-OutputGetChange] = xref:wallet.adoc[wallet]::OutputGetChange :relfileprefix: ../ :mrdocs: Returns the change amount an output contributes. == Synopsis Declared in `<wallet/receive.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e11afc048)]] xref:CAmount.adoc[CAmount] OutputGetChange( xref:wallet/CWallet.adoc[CWallet] const& wallet, xref:CTxOut.adoc[CTxOut] const& txout); ---- == Return Value The change amount, or zero if the output is not change. == Parameters [cols="1,4"] |=== | Name| Description | *wallet* | The wallet to check against. | *txout* | The output to evaluate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#