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(0x7fbc76bfcec8), requires_capability(0x7fbc81b76888), requires_capability(0x7fbc7e014708), requires_capability(0x7fbc7e243bb8), requires_capability(0x7fbc8e7147f8)]]
bool
IsSpentKey(CScript const& scriptPubKey) const;

Return Value

true if the key behind the script has been spent.

Parameters

NameDescription
scriptPubKeyThe script to check.