[#transaction_identifier-FromHex] = xref:transaction_identifier.adoc[transaction_identifier]::FromHex :relfileprefix: ../ :mrdocs: Builds an identifier by parsing a hex string. == Synopsis Declared in `<primitives/transaction_identifier.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::optional<transaction_identifier> FromHex(std::string_view hex); ---- == Return Value The parsed identifier, or std::nullopt if the hex is invalid. == Parameters [cols="1,4"] |=== | Name| Description | *hex* | The hex representation to parse. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#