This skill provides guidance and implementation patterns for fetching EVM balances across multiple chains using the @evm-balance toolkit and Multicall3. It covers both SDK integration and CLI usage.
- High Performance: Fetch native and ERC20 balances using Multicall3 (single RPC call).
- Multi-Chain: Native support for all chains available in
viem/chains. - Dual Address Mode: Support for XPUB (BIP-44) and Factory (CREATE2) derivation.
- Batch Processing: Efficiently query large address ranges with configurable batch sizes.
- Smart Filtering: Filter by minimum balance with correct decimal handling.
To add this skill to your project, run:
npx skills add melonask/evm-balance-skillsSKILL.md: Main guide with strategies, quick start, and CLI/SDK overview.references/sdk_api.md: Detailed API reference for the TypeScript SDK.
Trigger this skill by asking:
- "How do I fetch balances for a range of addresses?"
- "Query USDC balances on mainnet and optimism using the CLI."
- "Show me how to use the @evm-balance/sdk in my project."
- "How do I filter addresses by minimum balance?"
- "Set up balance fetching for CREATE2 counterfactual addresses."