{"uid":"cap_qjlyk0zkYcXqXe-VPc4AU","slug":"verifylite-base-contract-call-95945db1","name":"VerifyLite Base Contract Call","description":"Call any read-only (view/pure) function on a Base contract and get the decoded answer. Give the function as a signature like balanceOf(address) returns (uint256) plus args, or raw 0x calldata. Supports address, bool, uint/int, bytesN, string, bytes and arrays, an optional historical block, and plain revert reasons. Raw return data is always included. Not charged for invalid input, reverted calls, or when Base can't be reached.","url":"https://verifylite.hydratinghealingtouch.workers.dev/chain/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"args":{"type":"array","description":"Arguments in order (big numbers as strings; arrays as lists)."},"data":{"type":"string","description":"Optional instead of function: raw 0x calldata."},"block":{"type":"string","description":"Optional: \"latest\" (default) or a block number."},"returns":{"type":"string","description":"Optional: return types if not in the signature, e.g. \"uint112,uint112,uint32\"."},"contract":{"type":"string","description":"Contract 0x address on Base."},"function":{"type":"string","description":"Function signature, e.g. \"balanceOf(address) returns (uint256)\"."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0043","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.0043/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0043","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0043","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nU_6gRBmZEy6sErkYdaJX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0043","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calls any read-only (view/pure) function on a Base blockchain contract and returns the decoded result","exampleAgentPrompt":"Call the totalSupply() returns (uint256) function on the Base contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and tell me the result.","exampleUseCases":[{"title":"Check ERC-20 token balance on Base","prompt":"What's the USDC balance of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base? The USDC contract is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — call balanceOf(address) returns (uint256) with that wallet address."},{"title":"Read DEX pool reserves at historical block","prompt":"Fetch the reserves from the Uniswap V2-style pool at 0x4C36388bE6F416A29C8d8Eee81C771cE6bE14B5 on Base using getReserves() returns (uint112,uint112,uint32) as of block 15000000."},{"title":"Check if address has admin role in contract","prompt":"I need to verify whether 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B has the DEFAULT_ADMIN_ROLE on the Base contract at 0x3155BA85D5F96b2d030a4966AF206230e46849cb — call hasRole(bytes32,address) returns (bool) with the role hash 0x0000000000000000000000000000000000000000000000000000000000000000."}],"resultDescription":"Returns the decoded output values matching the function's return types (e.g. uint256, bool, address, string, array), plus the raw 0x return data. For reverted calls, includes the plain-text revert reason. Response always includes raw return bytes regardless of decode success.","failureModes":["Invalid contract address returns an error without charge","Reverted call returns the revert reason string without charge","Base network unreachable returns an error without charge","Malformed function signature causes an input validation error without charge","Wrong argument types or count cause a decoding or revert error","Providing neither function nor data field results in a validation error"],"whenToPreferThis":"Use this endpoint when you need to read any arbitrary state from a Base smart contract — especially custom or less common view functions not covered by specialized endpoints. Prefer more specific VerifyLite endpoints (NFT lookup, token approvals, transfers) for those common use cases. This endpoint is the right choice for DeFi protocol queries (pool reserves, prices, staking state), governance checks (roles, votes), or any bespoke contract state not covered by a dedicated tool.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-11T14:29:02.416Z","isFirstParty":false,"canonicalSlug":"verifylite-base-contract-call-95945db1"}