[#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&period;

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:wallet/LegacyDataSPKM.adoc[LegacyDataSPKM]*
GetOrCreateLegacyDataSPKM();
----

== Return Value

The legacy data ScriptPubKeyMan&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
