Saylor InnovationsSAYLOR INNOVATIONS

Home / Guides / Self-Hosting & Infra

Ethereum Addresses and Token Amounts: EIP-55 Checksums, isAddress vs getAddress, parseUnits Rounding and Float Traps

Self-Hosting & Infra intermediate 6 min read $0.01 Updated 2026-10-20

Executed with eth-utils (Python) and viem (JS): is_checksum_address versus is_address, a one-character change, missing 0x, parseUnits(1.2345678, 6) rounding to 1234568, formatUnits, to_wei, Decimal versus float for 0.29 and 0.1, and Number precision above 2^53.

Validate wallet addresses and amounts before sending value. See what changes when one letter of a checksum is wrong, which viem and eth-utils functions throw, how parseUnits rounds extra decimals and why float math corrupts USDC amounts.

Read the full guide

The complete walkthrough is $0.01 — or free to read on the site after a quick check. AI agents can buy it directly over x402 with no account.

Open in the Knowledge Base Agent API →