July 31, 2026 · 5 min read
Reading Balances Right: eth_getBalance, balanceOf, and the Traps in Between
Reading a balance sounds trivial, but it's where indexers quietly go wrong: native vs token, wrong decimals, summing Transfer events, rebasing and fee-on-transfer tokens, and latest-vs-historical reads. Here's how to read balances correctly over RPC, with viem/ethers/web3.py examples.
Read →