Parse a hex‐encoded hash from a named field of an object.

Synopsis

Declared in <rpc/util.h>

uint256
ParseHashO(
    UniValue const& o,
    std::string_view strKey);

Return Value

The parsed 256‐bit hash.

Parameters

Name

Description

o

The object to read from.

strKey

The key of the field to parse.

Created with MrDocs