[#wallet-ScriptPubKeyMan-GetMetadata]
= xref:wallet.adoc[wallet]::xref:wallet/ScriptPubKeyMan.adoc[ScriptPubKeyMan]::GetMetadata
:relfileprefix: ../../
:mrdocs:

Returns the key metadata for the given destination, or nullptr if none is known&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
std::unique&lowbar;ptr&lt;CKeyMetadata&gt;
GetMetadata(xref:CTxDestination.adoc[CTxDestination] const& dest) const;
----

== Return Value

The key metadata, or nullptr if none is known&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dest*
| The destination to look up metadata for&period;
|===


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