{"uid":"cap_KFBMUj2pLvXD0EebnJSE1","slug":"skills-onesource-io-56ffd389","name":"OneSource ERC20 Token Balance Lookup","description":"ERC20 token balance for any Ethereum wallet - USDC, USDT, DAI, or any token - via balanceOf (eth_call) on OneSource live Ethereum RPC","url":"https://skills.onesource.io/api/chain/erc20-balance?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"token":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"account":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"network":{"enum":["ethereum","sepolia","avax","megaeth","megaeth-testnet","base"],"type":"string","default":"ethereum"}}},"responseSchema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","required":["name","symbol","account","balance","decimals","contract_address"],"properties":{"name":{"type":"string"},"symbol":{"type":"string"},"account":{"type":"string"},"balance":{"type":"string"},"decimals":{"type":"number"},"contract_address":{"type":"string"}}},"meta":{"type":"object","required":["endpoint","request_id"],"properties":{"endpoint":{"type":"string"},"request_id":{"type":"string"}}}}},"example":{"request":{"token":"0x6B175474E89094C44Da98b954EedeAC495271d0F","account":"0x1234567890123456789012345678901234567890","network":"ethereum"},"response":{"data":{"name":"Dai Stablecoin","symbol":"DAI","account":"0x1234567890123456789012345678901234567890","balance":"544444444444444488","decimals":18,"contract_address":"0x6B175474E89094C44Da98b954EedeAC495271d0F"},"meta":{"endpoint":"/api/chain/erc20-balance","request_id":"df0206f71b94e7e1"}}},"exampleRequest":{"token":"0x6B175474E89094C44Da98b954EedeAC495271d0F","account":"0x1234567890123456789012345678901234567890","network":"ethereum"},"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NWPlK6PThFtss5ULtn6sZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the ERC20 token balance (name, symbol, decimals, raw balance) for any Ethereum wallet address on multiple chains via live RPC eth_call","exampleAgentPrompt":"What's the DAI balance for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum mainnet? The DAI contract is 0x6B175474E89094C44Da98b954EedeAC495271d0F.","exampleUseCases":[{"title":"Verify customer USDC holdings for compliance","prompt":"Can you check how much USDC this customer's wallet 0x742d35Cc6634C0532925a3b844Bc9e7595f42bE has on Ethereum mainnet? I need to verify they meet our minimum balance requirement of 10,000 USDC."},{"title":"Track multi-chain stablecoin positions","prompt":"I want to monitor a user's stablecoin exposure across chains. Please fetch their USDT balance on both Ethereum mainnet and Base chain for wallet 0x8ba1f109551bD432803012645Ac136ddd64DBA72. The USDT contracts are 0xdAC17F958D2ee523a2206206994597C13D831ec7 on mainnet and 0x833589fCD6eDb6E08f4c7C32D4f71b1bdA08B6fb on Base."},{"title":"Portfolio dashboard token balance snapshot","prompt":"Build me a quick snapshot of this wallet's holdings. What's the balance for 0x1234567890123456789012345678901234567890 across DAI (0x6B175474E89094C44Da98b954EedeAC495271d0F), USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48), and USDT (0xdAC17F958D2ee523a2206206994597C13D831ec7) all on Ethereum?"}],"resultDescription":"Returns the token's name, symbol, decimals, raw balance (as a big integer string), the queried account address, and the contract address. For example: {name: 'Dai Stablecoin', symbol: 'DAI', balance: '544444444444444488', decimals: 18, contract_address: '0x6B...', account: '0x12...'}.","failureModes":["Invalid token address format (not a valid 0x hex address) — likely 400 or validation error","Invalid account address format — likely 400 or validation error","Unsupported network value not in enum — validation error","Contract address is not an ERC20 token — may return zero or error from eth_call","RPC node unavailable or rate-limited — 503 or timeout","Payment not made / x402 payment required — 402 response blocking the call"],"whenToPreferThis":"Use this endpoint when you need the ERC20 token balance for a specific wallet on Ethereum or supported EVM chains (Base, Avalanche, Sepolia, MegaETH). It returns rich token metadata (name, symbol, decimals) alongside the balance in a single call, making it ideal for DeFi agents, portfolio trackers, or any workflow that needs to verify or display token holdings. Prefer over generic RPC calls when you want structured, decoded output without writing raw ABI calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:45:14.666Z","isFirstParty":false,"canonicalSlug":"skills-onesource-io-56ffd389"}