{"uid":"cap_YQH8YYEtSn8923uUQp4Tl","slug":"sitecheck-evm-contract-call-948fc8f7","name":"SiteCheck EVM Contract Call","description":"Read-only contract call (eth_call): decodes the return value of a function you name, e.g. balanceOf(address) returns (uint256). Nothing is signed or sent. A function whose name reads like a write (transfer, approve, mint, set...) is refused unless it is declared view or pure.","url":"https://api.sitecheck-api.workers.dev/api/evm/call?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"],"type":"string"},"queryParams":{"type":"object","required":["contract","function"],"properties":{"args":{"type":"string","description":"JSON array of arguments, e.g. [\"0xd8dA…\"]"},"chain":{"type":"string","description":"base (default), ethereum, arbitrum, optimism or polygon"},"contract":{"type":"string","description":"Contract address, 0x…"},"function":{"type":"string","description":"Human-readable signature, e.g. balanceOf(address) returns (uint256)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"args":["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"],"chain":"base","result":"44783666","source":"https://base-rpc.publicnode.com (eth_call, read-only)","outputs":[{"name":null,"type":"uint256"}],"contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","function":"function balanceOf(address) returns (uint256)","checkedAt":"2026-10-14T04:49:19.343Z","disclaimer":"Information only, not financial advice."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9X80VoaUrO-RQSOr4om2i","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 call on an EVM smart contract function and returns the decoded result","exampleAgentPrompt":"What is the USDC balance of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base? Call the balanceOf(address) function on the USDC contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.","exampleUseCases":[{"title":"ERC-20 token balance lookup","prompt":"Check how many USDC tokens the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 holds on Base — call balanceOf(address) on contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913."},{"title":"NFT ownership verification","prompt":"Who owns token ID 42 on the NFT contract 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D on Ethereum? Call ownerOf(uint256) with argument [\"42\"]."},{"title":"DeFi protocol parameter read","prompt":"What is the current reserve ratio on the Aave lending pool at 0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2 on Ethereum? Call getReserveData(address) with the USDC address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 as the argument."}],"resultDescription":"Returns a JSON object containing the decoded contract return value (result), the output type definitions (outputs array with name and type), the chain queried, contract address, function signature used, arguments passed, the RPC source URL, and a checkedAt timestamp. Also includes a disclaimer noting results are informational only.","failureModes":["Invalid contract address format returns an error","Function signature mismatch causes revert or decode failure","Contract not deployed on specified chain returns an error","Unsupported chain name returns a validation error","Malformed args JSON array causes a parse error","RPC node downtime may cause intermittent failures"],"whenToPreferThis":"Use this endpoint when you need to read data from any EVM-compatible smart contract across Base, Ethereum, Arbitrum, Optimism, or Polygon without sending a transaction. It is ideal for fetching token balances, NFT ownership, on-chain parameters, or any view/pure function result. Prefer this over raw RPC calls when you want a simple REST interface with decoded outputs and no node infrastructure management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:37:20.162Z","isFirstParty":false,"canonicalSlug":"sitecheck-evm-contract-call-948fc8f7"}