{"uid":"cap_Jl-zXx9_5swMw0K1prYdc","slug":"saylor-innovations-on-chain-lookups-ethereum-eth-call-b9585b5f","name":"Saylor Innovations On-Chain Lookups — Ethereum eth_call","description":"Read-Only Contract Call (eth_call) (ethereum). Ethereum read-only contract call (eth_call) with ?data= calldata, optional ?from= and ?block=; reverts reported cleanly with revert data.","url":"https://saylorinnovations.com/api/evm/ethereum/call/:address?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","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"queryParams":{"type":"object","properties":{"data":{"type":"string","description":"0x ABI-encoded calldata (query)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["chain","contract","reverted"],"properties":{"chain":{"type":"string"},"error":{"type":["string","null"]},"result":{"type":["string","null"]},"contract":{"type":"string"},"reverted":{"type":"boolean"}}}}}}},"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_4-WK_D9G4mhkyfWOw_oig","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a read-only smart contract call (eth_call) on Ethereum mainnet given a contract address and ABI-encoded calldata, returning the decoded result or revert status.","exampleAgentPrompt":"Call the ERC-20 balanceOf function on the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum mainnet — the calldata should be ABI-encoded for my wallet address 0x1234...abcd.","exampleUseCases":[{"title":"Check ERC-20 token balance on-chain","prompt":"What's the USDC balance of wallet 0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe on Ethereum? Call the balanceOf function on the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48."},{"title":"Read DeFi protocol reserve data","prompt":"Query the Uniswap V2 pair contract at 0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc on Ethereum to get the current reserves — use the getReserves() view function."},{"title":"Verify NFT ownership on Ethereum","prompt":"Check who owns token ID 42 on the Bored Ape Yacht Club contract at 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D on Ethereum — call ownerOf with the ABI-encoded token ID."}],"resultDescription":"Returns a JSON object with the chain name, contract address, the raw hex result of the call (or null), a boolean indicating if the call reverted, and an optional error string if something went wrong.","failureModes":["Contract call reverts — reverted: true with error message describing the revert reason","Invalid or malformed ABI-encoded calldata — likely returns error or unexpected result","Contract address does not exist on Ethereum mainnet — may return empty result or error","Malformed address in URL path — 400-level error or error field populated","Network or RPC timeout — upstream Ethereum node unavailability"],"whenToPreferThis":"Choose this endpoint when you need to read state from a specific Ethereum mainnet smart contract using a view or pure function without sending a transaction. Ideal for fetching token balances, reading DeFi protocol parameters, checking NFT ownership, or any stateless eth_call. Prefer it over general-purpose RPC providers when you need a simple HTTP GET interface with per-call micropayment pricing and no API key setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:48:43.470Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-on-chain-lookups-ethereum-eth-call-b9585b5f"}