{"uid":"cap_5faJ-aB96nRWATNI7517f","slug":"saylor-innovations-on-chain-lookups-read-only-contract-call-eth-call-26f5a7ad","name":"Saylor Innovations On-Chain Lookups – Read-Only Contract Call (eth_call) on Polygon","description":"Read-Only Contract Call (eth_call) (polygon). Polygon 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/polygon/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_Ie3hdJesQeKgNCoGT0_Pd","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) against a specified contract address on the Polygon network and returns the ABI-encoded result.","exampleAgentPrompt":"Can you call the balanceOf function on the USDC contract at 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 on Polygon using the ABI-encoded calldata for my wallet address 0xAbCd...1234?","exampleUseCases":[{"title":"Check token balance on Polygon","prompt":"Call the balanceOf function on the MATIC stablecoin contract at 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 on Polygon with the ABI-encoded calldata for address 0xDeAdBeEf00000000000000000000000000000001 and tell me the result."},{"title":"Verify DeFi pool reserve state","prompt":"Query the getReserves function on the QuickSwap LP contract at 0x6e7a5820baD6cebA8Ef5ea69c0C92EbbDAc9CE48 on Polygon — pass the ABI-encoded calldata and return the raw hex result so I can decode the current pool reserves."},{"title":"Check NFT ownership on Polygon","prompt":"I need to check who owns token ID 42 on the Polygon NFT contract at 0xA1b2C3d4E5F6000000000000000000000000ABCD — use the ownerOf calldata encoded as 0x6352211e000000000000000000000000000000000000000000000000000000000000002a."}],"resultDescription":"Returns a JSON object containing the chain name ('polygon'), the queried contract address, the raw hex-encoded return data from the contract call (result), a boolean indicating whether the call reverted, and an optional error message if the call failed or reverted.","failureModes":["Invalid or malformed ABI-encoded calldata returns a revert with reverted:true and an error message","Non-existent or zero-address contract returns an empty result or revert","Network congestion or RPC node unavailability causes a timeout or 5xx error","Incorrect contract address format (non-checksummed or invalid hex) returns a 400 error","Calling a non-view/non-pure function that writes state will revert since eth_call is read-only"],"whenToPreferThis":"Use this endpoint when you need to read on-chain state from a Polygon (MATIC) smart contract without submitting a transaction. Prefer it over base or BSC siblings when your target contract is deployed on Polygon. It is ideal for querying ERC-20 balances, allowances, NFT ownership, DeFi pool state, or any public view/pure function result on Polygon.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:48:43.887Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-on-chain-lookups-read-only-contract-call-eth-call-26f5a7ad"}