{"uid":"cap_TpdbuY_x8x7qwrg4XnwI6","slug":"axiomworks-evm-eth-call-read-only-contract-caller-ef0e9b13","name":"Axiomworks EVM eth_call Read-Only Contract Caller","description":"Read-only contract call via eth_call (no transaction sent): pass to + ABI-encoded data, get the raw return hex plus best-effort uint/address/string decodes and revert reason. Example: {to:\"0x8335…2913\", data:\"0x18160ddd\", chain:\"base\"}. $0.002.","url":"https://api.axiomworks.co.uk/chain/call?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":["to","data"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Contract"},"data":{"type":"string","description":"0x calldata"},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Optional caller"},"block":{"type":"string"},"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string","description":"EVM chain (default base)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"result":{"type":"string"},"as_uint":{"type":["string","null"]},"reverted":{"type":"boolean"},"as_string":{"type":["string","null"]},"as_address":{"type":["string","null"]}}}}}}},"responseSchema":{"type":"json","example":{"to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","chain":"base","error":"Rate limit exceeded. To obtain higher limits, please request a personal token or a dedicated node: https://www.allnodes.com/publicnode","source":"eth_call","chain_id":8453,"reverted":true,"revert_data":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_PbHvo35Tzm5BrAXjeTCTn","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":"Executes a read-only eth_call on an EVM smart contract and returns the raw hex result plus best-effort decoded uint/address/string values and revert reason","exampleAgentPrompt":"Can you call the totalSupply function (selector 0x18160ddd) on the USDC contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on the Base chain and tell me what value comes back?","exampleUseCases":[{"title":"ERC20 total supply lookup","prompt":"What's the total supply of the USDC token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base? Use the totalSupply selector 0x18160ddd and decode the result as a uint."},{"title":"DeFi pool state query","prompt":"Read the reserves from the Uniswap V2 pair contract at 0x3041CbD36888bECc7bbCBc0045E3B1f144466f5f on Ethereum — call it with the getReserves selector 0x0902f1ac and show me the raw hex and any decoded values."},{"title":"Check if contract call reverts","prompt":"I want to know if calling function 0x70a08231 with my wallet address 0xAbC123...0001 as the argument on contract 0xdAC17F958D2ee523a2206206994597C13D831ec7 on Ethereum would revert — can you do a dry-run eth_call and tell me the revert reason if it fails?"}],"resultDescription":"A JSON object containing: the target contract address, chain name, chain ID, the raw hex return value, best-effort decoded fields (as_uint, as_address, as_string), a boolean reverted flag, and revert_data if the call reverted. Source is always eth_call.","failureModes":["Rate limit exceeded on the underlying public RPC node — returns reverted:true with an error message directing to a paid node","Invalid contract address format — rejected by input schema validation","Unsupported chain value — only base, ethereum, arbitrum, optimism, polygon are accepted","Malformed ABI-encoded calldata — call may revert or return garbage data","Contract does not exist at the given address — may return empty hex or revert","x402 payment failure — call not executed if USDC micropayment cannot be completed"],"whenToPreferThis":"Use this endpoint when you need to query on-chain contract state without sending a transaction or paying gas — ideal for reading view/pure functions, checking token balances or supplies, inspecting DeFi protocol state, or validating whether a call would revert before executing it. Prefer over a full RPC provider when you need a lightweight, pay-per-call approach with built-in ABI decoding and no need to manage an API key or node subscription. Best for agents that occasionally need on-chain reads across multiple EVM chains (Base, Ethereum, Arbitrum, Optimism, Polygon).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:35:51.355Z","isFirstParty":false,"canonicalSlug":"axiomworks-evm-eth-call-read-only-contract-caller-ef0e9b13"}