Hex Value Types

E
Last updated 2 months ago

HexNumber

HexNumber represents a numeric value encoded as a hexadecimal string. Commonly used to encode block numbers, timestamp and other numeric values that are too large to be assigned to a Javascript variable.

Example

"0x5bcc82b7"

HexByte

HexByte represents a byte array encoded as a hexadecimal string. Common used to represent signatures and hashes.

Example

"0x3427713ac0f543481fb0559ff5a7543b427d951f838c18b2796bad0d868902d2123ffa8e67d4e5dce39e04594ad783583f62e1acdcb514d4a732c9c7bf7b2902"

‚Äč