[#wallet-LegacyDataSPKM-LoadKeyMetadata] = xref:wallet.adoc[wallet]::xref:wallet/LegacyDataSPKM.adoc[LegacyDataSPKM]::LoadKeyMetadata :relfileprefix: ../../ :mrdocs: Load metadata (used by LoadWallet) == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [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. | *metadata* | The metadata to associate with the key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#