Returns whether a script is a change output of the wallet.
Declared in <wallet/receive.h>
[[requires_capability(0x7f2e11afb908)]]
bool
ScriptIsChange(
CWallet const& wallet,
CScript const& script);
true if the script is treated as change.
| Name | Description |
|---|---|
| wallet | The wallet to check against. |
| script | The output script to evaluate. |