{"uid":"cap_qqP7ZhnctweeAHN3xU32M","slug":"evm-smart-contract-view-function-caller-6f36f6ae","name":"EVM Smart Contract View Function Caller","description":"Read any smart contract view function (eth_call) on Base, Ethereum, Arbitrum, BSC, Polygon, Optimism or Avalanche by signature, with decoded results. $0.001.","url":"https://api.agent-data.workers.dev/api/v1/evm/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","sig"],"properties":{"to":{"type":"string"},"sig":{"type":"string"},"args":{"type":"string"},"block":{"type":"string"},"chain":{"type":"string"},"returns":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"chain":"base","decoded":[4123456789012345],"function":"totalSupply()","selector":"0x18160ddd","result_hex":"0x..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0WS1_UYH_ap7qLejClfNL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calls any read-only (view) function on a smart contract across 7 EVM chains by ABI signature, returning decoded results","exampleAgentPrompt":"What is the total supply of the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum? Use the totalSupply() function signature.","exampleUseCases":[{"title":"ERC20 token supply check","prompt":"What's the total supply of the token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base? Call the totalSupply() function and decode the result as uint256."},{"title":"NFT ownership verification","prompt":"Who owns token ID 42 of the NFT contract at 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D on Ethereum? Use the ownerOf(uint256) function with arg 42."},{"title":"DeFi pool reserve query","prompt":"What are the current reserves of the Uniswap V2 pool at 0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc on Ethereum? Call getReserves() and decode the output."}],"resultDescription":"A JSON object containing the chain name, decoded return value(s) as a typed array, the human-readable function name, the 4-byte selector hash, and the raw hex result from the node — ready for direct use by an agent without further parsing","failureModes":["Invalid or non-checksummed contract address returns an error","Incorrect ABI signature causes decoding failure or revert","Calling a non-view/state-changing function may revert or return unexpected data","Unsupported chain identifier returns a validation error","Wrong `returns` type causes decoding mismatch","Contract at the given address does not exist on the specified chain","Block number out of range or too old may be unsupported"],"whenToPreferThis":"Choose this endpoint when you need to read on-chain state from a smart contract on Base, Ethereum, Arbitrum, BSC, Polygon, Optimism, or Avalanche without running your own RPC node. It is ideal for agents that need decoded, human-readable output rather than raw hex, and when you know the function signature but don't want to manage ABI files. At $0.001 per call it is cost-effective for single or repeated contract reads in agentic workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-14T18:34:26.205Z","isFirstParty":false,"canonicalSlug":"evm-smart-contract-view-function-caller-6f36f6ae"}