[#uint256-FromHex]
= xref:uint256.adoc[uint256]::FromHex
:relfileprefix: ../
:mrdocs:

Parses a uint256 from a hex string&period;

== Synopsis

Declared in `&lt;uint256&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
std::optional&lt;uint256&gt;
FromHex(std::string&lowbar;view str);
----

== Return Value

The parsed uint256, or std&colon;&colon;nullopt if the string is invalid&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *str*
| The hex string to parse&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
