{"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":"Base read-only contract call (eth_call) - return data, with reverts reported cleanly","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","pathParams","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["contract"],"properties":{"contract":{"type":"string","description":"0x contract (path)"}}},"queryParams":{"type":"object","required":["data"],"properties":{"data":{"type":"string","description":"0x ABI-encoded calldata (query)"},"from":{"type":"string","description":"optional 0x caller (query)"},"block":{"type":"string","description":"optional block number or latest (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","description":"Blockchain the data is for"},"error":{"type":["string","null"],"description":"Error message, if any"},"result":{"type":["string","null"],"description":"Result of the operation"},"contract":{"type":"string","description":"Contract address"},"reverted":{"type":"boolean","description":"True when the call reverts"},"revert_data":{"type":"null","description":"Raw revert data returned by the call, if it reverted"}},"additionalProperties":true},"description":{"type":"string"}}}}},"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_pgtAI7ERCmjfKTt31wjzr","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 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-12-01T18:50:44.394Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-on-chain-lookups-read-only-contract-call-base-02c1152f"}