wallet::LabelFromValue

Validates and extracts an address label from an RPC value.

Synopsis

Declared in <wallet/rpc/util.h>

std::string
LabelFromValue(UniValue const& value);

Return Value

The label as a string.

Parameters

NameDescription
valueThe RPC value holding the label.