{"uid":"cap_jaU5QPCeMs7tb9SJPChVf","slug":"beggar-bot-read-contract-base-mainnet-952e0c20","name":"Beggar Bot Read Contract (Base Mainnet)","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/readcontract?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"to":{"type":"string","description":"single call: contract"},"sig":{"type":"string","description":"single call: signature"},"args":{"type":"string","description":"single call: comma args"},"block":{"type":"string","description":"optional block number"},"calls":{"type":"string","description":"JSON [{to, sig:'fn(types)(returns)', args:[]}]"},"chain":{"type":"string","description":"base|ethereum|..."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json"},"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_EDy3VNzAERWsJklmGX968","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":"Reads data from one or more smart contracts on Base (or other EVM chains) by calling view/pure functions via a simple GET request","exampleAgentPrompt":"Can you read the USDC balance of wallet 0xAbC...123 from the USDC contract on Base? The contract is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and the function is balanceOf(address)(uint256).","exampleUseCases":[{"title":"ERC-20 token balance lookup","prompt":"What's the USDC balance of address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base? The USDC contract is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and the function signature is balanceOf(address)(uint256)."},{"title":"DeFi pool reserve query","prompt":"Fetch the current reserves from this Uniswap V2 pool on Base — contract 0xSomePairAddress, function getReserves()(uint112,uint112,uint32) — no extra args needed."},{"title":"Multicall batch contract read","prompt":"I need to read three things from Base contracts in one shot: the total supply of token A at 0xAAA, the owner of NFT #42 at 0xBBB using ownerOf(uint256)(address) with arg 42, and the decimals of token C at 0xCCC. Can you batch those into a single multicall?"}],"resultDescription":"A JSON response containing the decoded return values from the smart contract function call(s). For single calls, the result is the ABI-decoded output of the specified function. For multicall batches, an array of decoded results is returned, one per call object in the batch.","failureModes":["Invalid or malformed contract address returns an error","Function signature mismatch with actual ABI causes revert or decode error","Contract does not exist on the specified chain returns empty or error","Malformed args string causes parsing failure","Chain identifier not supported returns an unsupported network error","Rate limiting or payment failure blocks the request","Block number out of range or not yet finalized returns an RPC error"],"whenToPreferThis":"Use this endpoint when you need to query on-chain state from EVM smart contracts on Base mainnet (or other supported EVM chains) without setting up your own RPC node. It is especially useful for agents that need to read contract data as part of a DeFi workflow, verify token balances, check allowances, or batch multiple contract reads in a single call. Prefer this over raw RPC calls when you want a simple HTTP GET interface with no Web3 library dependency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:38:43.203Z","isFirstParty":false,"canonicalSlug":"beggar-bot-read-contract-base-mainnet-952e0c20"}