{"uid":"cap_BQtgbifm7yJKxcIfC0tGq","slug":"skills-onesource-io-d33e3f6b","name":"OneSource Live Wallet Balance","description":"Live wallet balance - native ETH plus any ERC20 tokens in one call via eth_getBalance and balanceOf on OneSource Ethereum RPC","url":"https://skills.onesource.io/api/chain/live-balance?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"tokens":{"type":"string"},"address":{"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":["address","eth_balance"],"properties":{"address":{"type":"string"},"eth_balance":{"type":"string"}}},"meta":{"type":"object","required":["endpoint","request_id"],"properties":{"endpoint":{"type":"string"},"request_id":{"type":"string"}}}}},"example":{"request":{"address":"0x1234567890123456789012345678901234567890","network":"ethereum"},"response":{"data":{"address":"0x1234567890123456789012345678901234567890","eth_balance":"0xf119d1391b48f293"},"meta":{"endpoint":"/api/chain/live-balance","request_id":"12c62032053ff002"}}},"exampleRequest":{"address":"0x1234567890123456789012345678901234567890","network":"ethereum"},"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"1.00","successRate":"1.00","reviews":1,"stars":"5.0","state":"rated"},"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_4RPc8wuI97LuTJl6vQax2","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 live ETH balance and ERC20 token balances for an Ethereum-compatible wallet address in a single call","exampleAgentPrompt":"What's the current ETH balance and all ERC20 token holdings for the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum mainnet?","exampleUseCases":null,"resultDescription":"Returns the wallet address and its native ETH balance as a hex value (e.g. '0xf119d136c73d0e93'), along with ERC20 token balances if token contract addresses were supplied, plus request metadata including endpoint path and request ID.","failureModes":["Invalid address format (not matching 0x[40 hex chars]) returns validation error","Unsupported network value returns enum mismatch error","Token contract address invalid or not an ERC20 returns null or error for that token","RPC node unavailable returns upstream error","Address with zero balance returns 0x0 rather than error"],"whenToPreferThis":"Use this endpoint when you need a real-time, live on-chain balance check for an Ethereum-compatible wallet — especially when you want both native ETH and ERC20 token balances in a single call. Prefer this over block explorer APIs when low-latency, programmatic access is needed. Supports Ethereum mainnet, Sepolia testnet, Base, Avalanche (avax), and MegaETH networks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-06-13T19:06:11.786Z","lastSuccessfullyRanAt":"2026-06-13T19:06:11.786Z","lastHealthCheckAt":"2026-10-11T00:43:34.668Z","isFirstParty":false,"canonicalSlug":"skills-onesource-io-d33e3f6b"}