[#wallet-DescriptorScriptPubKeyMan-HavePrivateKeys] = xref:wallet.adoc[wallet]::xref:wallet/DescriptorScriptPubKeyMan.adoc[DescriptorScriptPubKeyMan]::HavePrivateKeys :relfileprefix: ../../ :mrdocs: Returns whether this spkm holds any unencrypted private keys. == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool HavePrivateKeys() const override; ---- == Return Value true if unencrypted private keys are held. [.small]#Created with https://www.mrdocs.com[MrDocs]#