{"uid":"cap_gp35oWQmV8L0UnbWsBSPo","slug":"evm-read-contract-26b29460","name":"EVM Read Contract","description":"Call any read-only contract function without a transaction or ABI file: give the signature with return types, e.g. balanceOf(address)(uint256) or getReserves()(uint112,uint112,uint32), plus arguments; returns decoded values.","url":"https://bess-x402.onrender.com/v1/evm/read?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","required":["address","signature"],"properties":{"args":{"type":"string","description":"Comma-separated arguments (arrays as JSON)"},"block":{"type":"string","description":"Block number or latest"},"chain":{"type":"string","description":"ethereum, base, arbitrum, optimism or polygon"},"address":{"type":"string","description":"Contract address"},"signature":{"type":"string","description":"name(argTypes)(returnTypes)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.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_JLKnY9es5tvBBm0EbFRdr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Call any read-only EVM smart contract function by providing its signature with return types and arguments, returning decoded on-chain values without needing an ABI file.","exampleAgentPrompt":"What is the USDC balance of wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum? The USDC contract is 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and the function signature is balanceOf(address)(uint256).","exampleUseCases":[{"title":"Check DeFi pool reserves","prompt":"Can you fetch the current token reserves for the Uniswap V2 WETH/USDC pool at 0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc on Ethereum? Use the getReserves()(uint112,uint112,uint32) signature."},{"title":"Look up NFT ownership on-chain","prompt":"Who owns token ID 1234 in the Bored Ape Yacht Club contract at 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D on Ethereum? The function is ownerOf(uint256)(address)."},{"title":"Read Aave lending pool config","prompt":"What is the current liquidation threshold for WBTC in the Aave V3 pool on Base? The Aave data provider is at 0x2d8A3C5677189723C4cB8873CfC9C8976ddf54D3, use getUserReserveData(address,address)(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,bool) with the asset and user address."}],"resultDescription":"The endpoint returns the decoded return values from the contract function call, mapped to their Solidity types (e.g., uint256, address, bool, tuple components). Values are returned as their JSON-native equivalents (numbers as strings for large integers, addresses as hex strings, booleans as true/false).","failureModes":["Invalid or non-existent contract address returns an error or empty response","Wrong function signature (wrong argument or return types) causes decoding failure","Arguments not matching the expected Solidity types cause a revert or parsing error","Unsupported chain name returns a validation error","Requesting a future or non-existent block number returns an error","Rate limiting or payment failure returns a 402 response"],"whenToPreferThis":"Choose this endpoint when you need to query on-chain EVM state for any contract without having to supply or parse a full ABI — especially useful for one-off reads across DeFi protocols, token contracts, or NFTs on Ethereum, Base, Arbitrum, Optimism, or Polygon. Prefer it over full ABI-based tools when you know the specific function signature and want a lightweight, pay-per-call approach.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:33:45.320Z","isFirstParty":false,"canonicalSlug":"evm-read-contract-26b29460"}