{"uid":"cap_1mSkbHndNT5o9FZrjX9ag","slug":"evm-contract-read-only-function-caller-2b91d470","name":"EVM Contract Read-Only Function Caller","description":"Call any read-only (view) function of an EVM contract from its signature, e.g. balanceOf(address)(uint256), with arguments, and get the decoded result. Supports address, bool, intN/uintN, bytesN, string, bytes and arrays. Read-only: nothing is signed or sent.","url":"https://api.vextorium.com/leer-contrato-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["contrato","funcion"],"properties":{"red":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string"},"funcion":{"type":"string","description":"Signature with output types, e.g. totalSupply()(uint256)"},"contrato":{"type":"string"},"argumentos":{"type":"array","description":"Arguments in order"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"red":{"type":["string","null"]},"funcion":{"type":["string","null"]},"contrato":{"type":["string","null"]},"selector":{"type":["string","null"]},"resultado":{"type":["array","null"],"items":{"type":["null","string"]}},"resultado_hex":{"type":["string","null"]}}}}}}},"responseSchema":{"type":"json","example":{"red":"base","funcion":"name()","contrato":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","selector":"0x06fdde03","resultado":["USD Coin"],"resultado_hex":"0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000855534420436f696e000000000000000000000000000000000000000000000000"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CqxERd85A888uLptgOhGL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calls any read-only (view) function on an EVM smart contract by function signature and returns the decoded result","exampleAgentPrompt":"What is the name and symbol of the token at contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base? Call name()(string) and symbol()(string) as read-only view functions.","exampleUseCases":[{"title":"Check ERC-20 token balance","prompt":"What is the USDC balance of wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base? Call balanceOf(address)(uint256) on contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 with that address as the argument."},{"title":"Read NFT collection ownership","prompt":"Who owns token ID 42 of the NFT contract at 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D on Ethereum? Call ownerOf(uint256)(address) with argument 42."},{"title":"Query DeFi pool reserve state","prompt":"What are the current reserves in the Uniswap V2 liquidity pool at 0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc on Ethereum? Call getReserves()(uint112,uint112,uint32) with no arguments."}],"resultDescription":"A JSON object containing the network, the function signature called, the contract address, the 4-byte selector, a 'resultado' array of decoded return values as strings (one element per output parameter), and 'resultado_hex' with the raw ABI-encoded hex response.","failureModes":["Invalid contract address format returns an error","Incorrect function signature or mismatched output types causes decode failure","Unsupported network name (not one of base, ethereum, arbitrum, optimism, polygon) returns a validation error","Wrong number or type of arguments causes revert or decode failure","Contract does not exist at the given address on the specified network","Function is not a view/pure function and cannot be called read-only","Network RPC unavailable returns a timeout or connection error"],"whenToPreferThis":"Use this endpoint when you need to read state from any EVM smart contract using a human-readable function signature with automatic ABI decoding. It is ideal when you know the function signature but do not have a full ABI, want decoded outputs rather than raw hex, and need to support multiple EVM chains. Prefer the sibling raw eth_call endpoint if you already have pre-encoded calldata and only need the raw 32-byte word split response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:12.669Z","isFirstParty":false,"canonicalSlug":"evm-contract-read-only-function-caller-2b91d470"}