Parses a uint256 from user-supplied hex, allowing a "0x" prefix and padding.
Declared in <uint256.h>
static
std::optional<uint256>
FromUserHex(std::string_view str);
The parsed uint256, or std::nullopt if the string is invalid.
| Name | Description |
|---|---|
| str | The hex string to parse. |