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(0x7fb955bcef88), requires_capability(0x7fb94db838a8), requires_capability(0x7fb95ab13728), requires_capability(0x7fb959fb0308), requires_capability(0x7fb956cba598)]]
bool
IsSpentKey(CScript const& scriptPubKey) const;

Return Value

true if the key behind the script has been spent.

Parameters

NameDescription
scriptPubKeyThe script to check.