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

== Synopsis

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

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


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