Builds an identifier by parsing a hex string.

Synopsis

Declared in <primitives/transaction_identifier.h>

static
std::optional<transaction_identifier>
FromHex(std::string_view hex);

Return Value

The parsed identifier, or std::nullopt if the hex is invalid.

Parameters

Name

Description

hex

The hex representation to parse.

Created with MrDocs