{"uid":"cap_twyaEm191HdTtDaEzGSS_","slug":"avasis-multi-balance-on-base-9bff260d","name":"Avasis Multi-Balance on Base","description":"Wallet multi-balance on Base (chain 8453, $0.02): address -> ETH + USDC + up to 10 ERC-20s (addresses or symbols: USDC, USDBC, DAI, WETH, CBBTC, USDT) in ONE batched read: raw + units, USD per asset and total (Chainlink, pegs, Dexscreener), tx_count, is_contract, empty flag, gas affordability (ETH transfer cost at 2x base fee, can_pay_eth_transfer). Phrases: wallet balance, multi balance, usdc balance, eth balance. GET or POST JSON. Per-token fail-soft; RPC down 502, never charged.","url":"https://agents.avasis.ai/v1/base/multi-balance?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"type":"string","description":"optional; must be base / 8453 on this route"},"tokens":{"type":"string","description":"optional comma-separated ERC-20 addresses or known symbols (USDC, USDBC, DAI, WETH, CBBTC, USDT), up to 10; USDC is always included"},"address":{"type":"string","description":"the wallet or contract to read (0x + 40 hex)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["chain","address","eth","usdc","tokens","totals","gas","headline"],"properties":{"eth":{"type":"object"},"gas":{"type":"object"},"kind":{"type":"string"},"rail":{"type":"string"},"usdc":{"type":"object"},"chain":{"type":"string"},"empty":{"type":"boolean"},"tokens":{"type":"array"},"totals":{"type":"object"},"address":{"type":"string"},"chain_id":{"type":"integer"},"headline":{"type":"string"},"tx_count":{"type":["integer","null"]},"is_contract":{"type":["boolean","null"]},"block_number":{"type":"integer"},"also_available":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"eth":{"usd":94.43,"wei":"42100000000000000","price":2242.9,"amount":"0.0421","price_source":"chainlink ETH/USD (latestRoundData)"},"gas":{"note":"21000 gas at 2x the current base fee + 0.001 gwei tip; excludes the Base L1 data fee (~$0.0003-0.001 per tx); contract calls cost more: /v1/evm/gas-ops prices them","base_fee_gwei":0.005,"can_pay_eth_transfer":true,"eth_transfer_cost_eth":"0.000000231","eth_transfer_cost_usd":0.0005181,"eth_transfer_cost_wei":"231000000000","eth_transfers_affordable":182251},"kind":"multi-balance","rail":"evm-rails-1","usdc":{"usd":15115.05,"error":null,"amount":"15115.05","address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"},"chain":"base","empty":false,"reads":{"rpc":"fixture","calls":8,"elapsed_ms":0},"tokens":[{"raw":"15115050000","usd":15115.05,"error":null,"known":"USDC (Circle)","price":1,"amount":"15115.05","symbol":"USDC","address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6,"price_source":"stablecoin peg (known issuer)"},{"raw":"250000000000000000","usd":560.73,"error":null,"known":"WETH (canonical)","price":2242.9,"amount":"0.25","symbol":"WETH","address":"0x4200000000000000000000000000000000000006","decimals":18,"price_source":"chainlink ETH/USD (latestRoundData)"},{"raw":"120000","usd":131.85,"error":null,"known":"cbBTC (Coinbase)","price":109876.5,"amount":"0.0012","symbol":"cbBTC","address":"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf","decimals":8,"price_source":"dexscreener aerodrome (liquidity $12,345,678)"}],"totals":{"usd":15902.06,"note":"ETH + priced tokens at current prices","complete":true,"unpriced":[]},"address":"0xf977814e90da44bfa03b6295a0616a897441acec","chain_id":8453,"headline":"0xf977…acec on Base: 0.0421 ETH ($94.43), 15,115.05 USDC, 0.25 WETH, 0.0012 cbBTC; total $15,902.06; gas for 182251 ETH transfers","tx_count":499417,"is_contract":false,"block_number":53354727,"block_timestamp":1793498801}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lD7_WXx6lPJilGU4z4Vhx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns ETH, USDC, and up to 10 ERC-20 token balances with USD valuations, gas affordability, and wallet metadata for any Base (chain 8453) address in a single batched read.","exampleAgentPrompt":"What's the full balance of wallet 0xf977814e90da44bfa03b6295a0616a897441acec on Base — give me ETH, USDC, WETH, and cbBTC with USD values and tell me if it can afford a transfer.","exampleUseCases":[{"title":"DeFi portfolio snapshot for a Base wallet","prompt":"Can you check the full portfolio value of 0xf977814e90da44bfa03b6295a0616a897441acec on Base? I want to see ETH, USDC, DAI, and WETH balances with their current USD prices and a total."},{"title":"Gas affordability check before sending","prompt":"Before I send a transaction from 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base, check if it has enough ETH to cover a transfer — and show me how many ETH transfers it could actually afford right now."},{"title":"Checking if an unknown address is active","prompt":"Is the address 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 on Base a real wallet or a contract, and does it have any token balances? I also want to know its transaction count."}],"resultDescription":"Returns a JSON object with ETH balance (raw wei, human-readable amount, USD value via Chainlink), a dedicated USDC entry, an array of up to 10 ERC-20 token objects each containing symbol, amount, decimals, USD price and price source, a totals object with aggregate USD value, a gas object showing current base fee and how many ETH transfers the wallet can afford, plus tx_count, is_contract, empty flag, block number, and a human-readable headline string.","failureModes":["RPC node down — returns HTTP 502, no charge applied","Invalid or non-checksummed address — validation error returned","Token not recognized or unsupported symbol — per-token error field populated, other tokens still returned (fail-soft)","More than 10 extra tokens requested — excess silently truncated","Network error to price feed (Chainlink/Dexscreener) — affected token USD value may be null, rest succeed"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, single-call snapshot of a Base chain wallet including multi-token balances with live USD pricing, gas affordability analysis, and wallet metadata — especially when you want to avoid multiple separate RPC calls. It is optimized for Base (chain 8453) only; use sibling endpoints for Ethereum mainnet or Solana. Prefer it over raw RPC calls when you also need USD valuation, Chainlink price feeds, and contract/EOA detection in one response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:30:35.442Z","isFirstParty":false,"canonicalSlug":"avasis-multi-balance-on-base-9bff260d"}