[#wallet-DescriptorScriptPubKeyMan-GetMetadata] = xref:wallet.adoc[wallet]::xref:wallet/DescriptorScriptPubKeyMan.adoc[DescriptorScriptPubKeyMan]::GetMetadata :relfileprefix: ../../ :mrdocs: Returns the key metadata for the given destination, or nullptr if none is known. == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::unique_ptr<CKeyMetadata> GetMetadata(xref:CTxDestination.adoc[CTxDestination] const& dest) const override; ---- == Return Value The key metadata, or nullptr if none is known. == Parameters [cols="1,4"] |=== | Name| Description | *dest* | The destination to look up metadata for. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#