[#wallet-ScriptIsChange]
= xref:wallet.adoc[wallet]::ScriptIsChange
:relfileprefix: ../
:mrdocs:

Returns whether a script is a change output of the wallet&period;

== Synopsis

Declared in `&lt;wallet&sol;receive&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f95061fa338)&rsqb;&rsqb;
bool
ScriptIsChange(
    xref:wallet/CWallet.adoc[CWallet] const& wallet,
    xref:CScript.adoc[CScript] const& script);
----

== Return Value

true if the script is treated as change&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *wallet*
| The wallet to check against&period;
| *script*
| The output script to evaluate&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
