{"uid":"cap_0qykj1CHTejHzgprILZ-f","slug":"multicall3-batch-eth-call-5381a070","name":"Multicall3 Batch eth_call","description":"Pay-per-call on-chain API for AI agents and developers: wallet audits, token safety audits (honeypot detection), live gas prices, token prices, transaction receipts, balances, ENS resolution, block data, ERC-20 allowances, transaction simulation, swap quotes and multicall batches — all computed on-chain via public RPCs (no external market API). Pay per request in USDC on Base via the x402 exact scheme (EIP-3009 transferWithAuthorization). No API key, no signup, no subscription.","url":"https://x402-audit.tatschluizguilherme.workers.dev/multicall","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"calls":{"type":"string"}}},"responseSchema":{"type":"json","example":{"calls":[{"to":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","data":"0x70a082310000000000000000000000008e8d53a67b59e6f2a28e0d6d52012a2b0e3e1886","success":true,"returnData":"0x0000000000000000000000000000000000000000000000000000000000000000"}],"network":"base","callCount":2,"multicall3":"0xcA11bde05977b3631167028862bE2a173976CA11","blockNumber":24400123,"gasEstimate":61458,"requestedAt":"2026-08-05T02:20:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x1pfzwCCf2atWRZOEsxqO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes up to 20 read-only Ethereum calls in a single batched request via the Multicall3 contract on Base, Optimism, or Ethereum Mainnet, returning per-call success flags, return data, block number, and gas estimate","exampleAgentPrompt":"Batch these 5 on-chain reads for me on Base in one multicall: get the ETH balance of 0xABC, the USDC balance of 0xDEF, the USDC allowance of 0xDEF for Uniswap router 0x123, the total supply of token 0x456, and the owner of NFT contract 0x789 — I want all results plus the block number and per-call success flags.","exampleUseCases":[{"title":"DeFi portfolio snapshot in one shot","prompt":"Check all 6 token balances and 3 Uniswap allowances for wallet 0xAbCd1234 on Base in a single multicall — return each result with a success flag so I know if any call failed, and include the block number."},{"title":"Multi-wallet balance audit","prompt":"Batch-fetch the native ETH and USDC balances of these 10 wallet addresses on Optimism in one request using Multicall3 — I want per-address success flags and the gas estimate for the batch."},{"title":"DeFi protocol state aggregation","prompt":"Run a multicall on Ethereum Mainnet to read the reserves, totalSupply, and fee from these 4 Uniswap V2 pair contracts at the same block — give me the returnData and success flag for each call."}],"resultDescription":"An array of per-call results each containing a success boolean and raw returnData (hex), plus the blockNumber at which the batch was executed and an overall gas estimate for the batch. A call that reverts returns success:false without causing the entire batch to fail.","failureModes":["More than 20 calls submitted — batch limit exceeded","Invalid calldata encoding causes individual call to revert (returned as success:false)","Unsupported chain ID — only Base, Optimism, Ethereum Mainnet accepted","Malformed request body returns 400 error","Network congestion or RPC timeout causes full batch failure","Contract address does not exist on the specified chain — success:false returned"],"whenToPreferThis":"Choose this endpoint when you need to aggregate multiple read-only on-chain data points (balances, allowances, contract state) in a single round trip, avoiding multiple sequential RPC calls. Ideal for DeFi dashboards, portfolio trackers, or any agent workflow requiring 2–20 contract reads at the same block. Prefer over individual balance/allowance endpoints when fetching 3 or more values from the same or different contracts on Base, Optimism, or Ethereum Mainnet.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:30:42.405Z","isFirstParty":false}