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