Ethereum icon

Ethereum

Interact with Ethereum blockchain

Utils → Validate Address

AI-generated

Summary

Validate an Ethereum address

Inputs

  • address (required) — The Ethereum address to validate.

Output shape

An object indicating validity and optionally a checksummed address, e.g. { isValid: boolean, checksumAddress?: string }

Only isValid is guaranteed; checksumAddress may be present depending on implementation.

Examples

Example 1: Validate a user‑provided wallet address

Uses the default address input; returns validation result.

Example 2: Check a hard‑coded test address

Passes "0x123..." as address; receives { isValid: false }.

Example 3: Validate an address with mixed case

Input "0xAbC..." returns { isValid: true, checksumAddress: "0xabc..." }.

Links

Discussion