Parse a hex‐encoded public key, throwing an RPC error if it is invalid.

Synopsis

Declared in <rpc/util.h>

CPubKey
HexToPubKey(std::string const& hex_in);

Return Value

The parsed public key.

Parameters

Name

Description

hex_in

The hex‐encoded public key.

Created with MrDocs