[#wallet-CWallet-GetLegacyDataSPKM] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::GetLegacyDataSPKM :relfileprefix: ../../ :mrdocs: Get the LegacyDataSPKM used for all legacy output types and both internal and external chains. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:wallet/LegacyDataSPKM.adoc[LegacyDataSPKM]* GetLegacyDataSPKM() const; ---- == Return Value The legacy data ScriptPubKeyMan, or nullptr if none exists. [.small]#Created with https://www.mrdocs.com[MrDocs]#