ParseHexO

Parse a hex-encoded byte vector from a named field of an object.

Synopsis

Declared in <rpc/util.h>

std::vector<unsigned char>
ParseHexO(
    UniValue const& o,
    std::string_view strKey);

Return Value

The decoded bytes.

Parameters

NameDescription
oThe object to read from.
strKeyThe key of the field to parse.