{"uid":"cap_h8gN9mOGp908_mSS-WqNH","slug":"tollkit-chain-balance-15257d71","name":"Tollkit Chain Balance","description":"Pay-per-call product page extraction. No account, no API key: pay in-band with x402 in USDC on Base or Solana.","url":"https://attest.tollkit.dev/chain/balance?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["base","ethereum","solana"],"type":"string","default":"base","description":"Which chain to read: \"base\" (default), \"ethereum\" or \"solana\"."},"tokens":{"type":"array","items":{"type":"string","pattern":"^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$"},"maxItems":20,"description":"Extra ERC-20 contracts (or SPL mints on Solana) to include."},"address":{"type":"string","pattern":"^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$","description":"Wallet (or contract) address to check."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__8i3R6OGrT-VNMehyuFj7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves native and ERC-20/SPL token balances for a given wallet or contract address on Base, Ethereum, or Solana, paid per-call via x402 USDC micropayment.","exampleAgentPrompt":"What's the current ETH and USDC balance for wallet 0xAbC123...def456 on Base? Also include the WETH token at 0x4200...0006.","exampleUseCases":[{"title":"DeFi portfolio snapshot","prompt":"Can you pull the native ETH plus USDC and WETH balances for 0xAbC1234...5678 on Base so I can see a quick snapshot of that wallet?"},{"title":"Solana wallet audit","prompt":"Check the SOL balance and the BONK SPL token balance for the Solana address 7xKq...mNpR right now."},{"title":"Smart contract treasury check","prompt":"Look up how much ETH and DAI the contract at 0xDeF9...8765 is holding on Ethereum mainnet."}],"resultDescription":"Returns native token balances and, optionally, balances of specified ERC-20 (Ethereum/Base) or SPL (Solana) tokens for the queried address on the selected chain. Includes balance amounts per token contract and the native coin balance.","failureModes":["Invalid address format returns a validation error","Unsupported chain value returns an enum mismatch error","More than 20 token contracts in the tokens array returns an input size error","Address with no on-chain history may return zero balances","Micropayment failure via x402 results in a 402 Payment Required response and no balance data","Network congestion or RPC outage may cause timeouts"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, zero-account-setup balance lookup across Base, Ethereum, or Solana. It is ideal for agents that need on-chain balance data intermittently without committing to an API subscription, or when embedding micropayment-gated blockchain queries in an automated workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:32:16.215Z","isFirstParty":false,"canonicalSlug":"tollkit-chain-balance-15257d71"}