{"uid":"cap_XAWHVvTCwbiNMZYlq6hbM","slug":"santyvv-data-read-only-eth-call-95355800","name":"santyvv-data: Read-Only eth_call","description":"Read-only eth_call to any contract","url":"https://santyvv-x402.santyvv1993.workers.dev/api/chain/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BjmVdYZSK6QxMLc_eAvn8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 to any Ethereum-compatible smart contract and returns the result","exampleAgentPrompt":"Make a read-only eth_call to the Uniswap V3 USDC/ETH pool contract at 0x8ad599c3A0ff1De082011EFDDc58f1908eb6e6D8 on Ethereum mainnet using the slot0() function selector to get the current sqrtPriceX96 value.","exampleUseCases":[{"title":"Query Uniswap pool price on-chain","prompt":"Call the slot0 function on the Uniswap V3 ETH/USDC pool contract at 0x8ad599c3A0ff1De082011EFDDc58f1908eb6e6D8 on Ethereum mainnet so I can get the current tick and sqrtPriceX96."},{"title":"Read governance proposal state","prompt":"I need to check whether proposal ID 42 on the Compound Governor Bravo contract at 0xc0Da02939E1441F497fd74F78cE7Decb17B66529 is currently active or defeated — can you do a read-only call to the state(uint256) function?"},{"title":"Check NFT ownership on-chain","prompt":"Call the ownerOf function on the CryptoPunks wrapper contract at 0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB for token ID 1234 to see who currently owns it."}],"resultDescription":"Returns the raw or ABI-decoded output of the specified smart contract read function — typically a hex-encoded bytes value or a decoded primitive such as a uint256, address, bool, or struct, depending on the function called. No gas is consumed and no state is changed.","failureModes":["Invalid contract address returns execution error or zero bytes","Incorrect function selector or ABI encoding results in revert or garbled output","Calling a non-existent function on a contract returns a revert","Contract not deployed at the given address on the specified chain returns empty response","Network or RPC unavailability causes a 5xx error","Insufficient USDC payment causes 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to read state or computed values from any EVM-compatible smart contract without sending a transaction or paying gas. It is ideal for querying view and pure functions, fetching on-chain data for any arbitrary contract, and integrating real-time contract state into agent workflows. Prefer this over higher-level endpoints (ERC-20 balance, native balance, etc.) when you need to call a function not covered by those specialized endpoints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:40:56.738Z","isFirstParty":false,"canonicalSlug":"santyvv-data-read-only-eth-call-95355800"}