{"uid":"cap_MBSdT7jgvRYS2pKegnnI6","slug":"biosfera-eth-call-read-only-smart-contract-call-d0a30491","name":"Biosfera ETH Call – Read-Only Smart Contract Call","description":"Use when you need to simulate a read-only call to any contract on Base, Ethereum, Arbitrum, Optimism or Polygon: pass the target and the ABI-encoded calldata (hex), get the raw return data. No transaction is sent.","url":"https://biosfera.46-62-215-147.sslip.io/o/eth-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":["chain","to","data"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x[0-9a-fA-F]{0,1000}$"},"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0015","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.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ugNwcCC_wx2Bp42ZLhWmX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","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 on a specified smart contract across Base, Ethereum, Arbitrum, Optimism, or Polygon, returning raw ABI-encoded return data without sending a transaction.","exampleAgentPrompt":"Do a read-only eth_call on the Uniswap V3 factory contract at 0x1F98431c8aD98523631AE4a59f267346ea31F984 on Ethereum with calldata 0x1698ee82000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000000000000000000000000000000000000000000064 and give me the raw return data.","exampleUseCases":[{"title":"Query DeFi Pool Reserve Balances","prompt":"Call the getReserves function on the Uniswap V2 WETH/USDC pair at 0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc on Ethereum — the calldata is 0x0902f1ac — and return the raw hex output."},{"title":"Check Token Allowance On-Chain","prompt":"Run a read-only contract call on the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum with calldata 0xdd62ed3e000000000000000000000000d8dA6BF26964aF9D7eEd9e03E53415D37aA96045000000000000000000000000Ae2D4617c862309A3d75A0fFB358c7a5009c673F so I can see the raw allowance result."},{"title":"Read Custom Arbitrum Contract State","prompt":"Simulate a view function call on my custom Arbitrum contract at 0x3e5e9111ae8eb78fe1cc3bb8915d5d461f3ef9a9 using calldata 0x70a08231000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa9604 and return whatever the contract sends back."}],"resultDescription":"Returns the raw ABI-encoded hex bytes that the smart contract function returns, exactly as the EVM would produce them. The agent must decode this hex output using the expected return type ABI to interpret the result (e.g. uint256, address, tuple, etc.).","failureModes":["Invalid contract address (not a valid 0x hex address) — request rejected","Invalid or malformed calldata hex string — request rejected","Contract does not exist at the given address on the specified chain — returns 0x or reverts","Contract function reverts — may return an error or empty data","Unsupported chain value — only base, ethereum, arbitrum, optimism, polygon accepted","Network timeout or RPC outage for the target chain — transient error","Calldata exceeds maximum length (1000 hex chars) — request rejected"],"whenToPreferThis":"Use this endpoint when you need to call any arbitrary smart contract view or pure function with custom ABI-encoded calldata and get the raw return bytes — especially when no higher-level endpoint exists for the specific function you need. Prefer more specialized sibling endpoints (e.g. ERC-20 metadata, ERC-721 ownership, native balance) for common queries, as they handle encoding and decoding automatically. This endpoint is ideal for custom contracts, novel ABIs, or advanced DeFi protocol interactions across Base, Ethereum, Arbitrum, Optimism, or Polygon.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:44:43.434Z","isFirstParty":false,"canonicalSlug":"biosfera-eth-call-read-only-smart-contract-call-d0a30491"}