wallet::OutputIsChange

Returns whether an output is a change output of the wallet.

Synopsis

Declared in <wallet/receive.h>

[[requires_capability(0x7f2e11afbce8)]]
bool
OutputIsChange(
    CWallet const& wallet,
    CTxOut const& txout);

Return Value

true if the output is treated as change.

Parameters

NameDescription
walletThe wallet to check against.
txoutThe output to evaluate.