wallet::CWallet::IsSpentKey

Whether this or any known scriptPubKey with the same single key has been spent.

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7ff3720ef518), requires_capability(0x7ff365f1f518), requires_capability(0x7ff35de5dec8), requires_capability(0x7ff35efe29a8), requires_capability(0x7ff366fcef88)]]
bool
IsSpentKey(CScript const& scriptPubKey) const;

Return Value

true if the key behind the script has been spent.

Parameters

NameDescription
scriptPubKeyThe script to check.