What problem does it solve?
This skill provides a reliable way to check native EVM balances and ERC20 token balances across multiple chains, helping you verify funds before transactions and monitor holdings.
Core Features & Use Cases
- Cross-chain balance checks: Retrieve native ETH balances on Ethereum, Base, Polygon, and Arbitrum, including Sepolia testnets.
- ERC20 token balances: Query common tokens (e.g., USDC) on supported chains.
- Multi-chain aggregation & reliability: Uses built-in RPC endpoints to avoid flaky public nodes and can batch queries for efficiency.
- Use Case: Before submitting a cross-chain transfer, check the sender’s ETH and token balances across involved chains to ensure sufficient funds.
Quick Start
bun scripts/check-balance.ts --address 0x1234... --chain ethereum-sepolia
bun scripts/check-balance.ts --address 0x1234... --tokens
bun scripts/check-balance.ts --address 0x1234... --all
bun scripts/check-balance.ts --address 0x1234... --json