{"uid":"cap_jkIsTovlBJxBHwPv-0tTf","slug":"saylor-innovations-on-chain-lookups-read-only-contract-call-base-02c1152f","name":"Saylor Innovations On-Chain Lookups — Read-Only Contract Call (Base)","description":"Read-Only Contract Call (eth_call) (base). Base 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/base/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_pgtAI7ERCmjfKTt31wjzr","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 eth_call against any smart contract on the Base network using ABI-encoded calldata and returns the result or revert status.","exampleAgentPrompt":"Can you call the totalSupply() view function on the Base network contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and tell me what it returns? The ABI-encoded calldata for totalSupply is 0x18160ddd.","exampleUseCases":[{"title":"Check ERC-20 token balance on Base","prompt":"What's the token balance of address 0xAbCd...1234 in the USDC contract on Base (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)? Use the balanceOf ABI-encoded calldata for that address."},{"title":"Verify NFT ownership on Base","prompt":"Can you call the ownerOf function on the Base NFT contract at 0xDeAd...BeeF to check who owns token ID 42? I'll provide the ABI-encoded calldata: 0x6352211e000000000000000000000000000000000000000000000000000000000000002a"},{"title":"Read DeFi protocol reserve data","prompt":"I need to read the getReserves() view function from the Uniswap V2 pair contract at 0x1234...5678 on Base — can you make that on-chain read-only call with calldata 0x0902f1ac and show me what the contract returns?"}],"resultDescription":"Returns a JSON object containing the chain name ('base'), the queried contract address, the hex-encoded return value of the call (result), a boolean indicating whether the call reverted, and an optional error string if the call failed or reverted.","failureModes":["Contract address does not exist on Base — result will be null and reverted may be true","Malformed or incorrect ABI-encoded calldata — call may revert with an error message","Contract function is not a view/pure function — call may fail or return unexpected results","Network congestion or RPC node unavailability — service may return an HTTP error","Invalid address format — request validation error before reaching the chain"],"whenToPreferThis":"Use this endpoint when you need to read on-chain state from a specific smart contract on the Base network without sending a transaction or paying gas. Prefer this over generic Ethereum RPC providers when you want a simple pay-per-call HTTP API (x402 micropayment) without managing RPC credentials or node infrastructure. Best suited for agents that need to occasionally query Base contracts as part of a broader workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:48:22.687Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-on-chain-lookups-read-only-contract-call-base-02c1152f"}