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

Validates and extracts an address label from an RPC value&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
LabelFromValue(xref:UniValue.adoc[UniValue] const& value);
----

== Return Value

The label as a string&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| The RPC value holding the label&period;
|===


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