[#wallet-LegacyDataSPKM-LoadKeyMetadata]
= xref:wallet.adoc[wallet]::xref:wallet/LegacyDataSPKM.adoc[LegacyDataSPKM]::LoadKeyMetadata
:relfileprefix: ../../
:mrdocs:

Load metadata (used by LoadWallet)

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
LoadKeyMetadata(
    xref:CKeyID.adoc[CKeyID] const& keyID,
    xref:wallet/CKeyMetadata.adoc[CKeyMetadata] const& metadata);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *keyID*
| The key id the metadata belongs to&period;
| *metadata*
| The metadata to associate with the key&period;
|===


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