An Ethereum address represents an account. For EOA, the address is derived as the last 20 bytes of the public key controlling the account, example, `cd2a3d9f938e13cd947ec05abc7fe734df8dd826. This is in hexadecimal format (base 16 notation), which is often indicated explicitly by appending 0x to the address. Web3.js and console functions accept addresses with or without this prefix, but for transparency we encourage their use. Since each byte of the address is represented by two–hex characters, a prefixed address is 42 characters long.
Validator
No validation
Matched expressions
Regex expressions | Description | Score |
|---|---|---|
| Matches a string that begins with "0x" followed by 40-hexadecimal alphanumeric string that contains [0–9] or [A-F]. | 1 |
Ignored expressions
None