Hex
A hex-encoded string.
Definition
type Hex = stringNotes
- Used for code hashes, key bytes, and key hashes. Some hex strings are conventionally lower-case (code hashes), others upper-case (key hashes).
- For strict template-literal typing (
0x${string}), useAddressinstead. - Validate with
isHexfrom@left-curve/encoding; convert withencodeHex/decodeHex.