[#wallet-CWallet-GetOrCreateLegacyDataSPKM] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::GetOrCreateLegacyDataSPKM :relfileprefix: ../../ :mrdocs: Return the legacy data ScriptPubKeyMan, creating it if it does not exist. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:wallet/LegacyDataSPKM.adoc[LegacyDataSPKM]* GetOrCreateLegacyDataSPKM(); ---- == Return Value The legacy data ScriptPubKeyMan. [.small]#Created with https://www.mrdocs.com[MrDocs]#