{"uid":"cap_Qry1p2y_ZNwEvh4YUS1OG","slug":"straelo-relay-chain-contract-call-bd95e068","name":"Straelo Relay Chain Contract Call","description":"Execute a read-only EVM smart contract call on Ethereum or Base and return the normalized result without managing an RPC provider.","url":"https://relay.straelo.com/chain-contract-call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","description":"Read-only hexadecimal ABI calldata."},"chain":{"enum":["ethereum","base"],"type":"string","description":"EVM network for the read-only call."},"contract_address":{"type":"string","description":"Target EVM contract address."}}},"responseSchema":{"type":"json","example":{"chain":"base","result":"0x","provider":"aex402","latency_ms":20,"contract_address":"0x0000000000000000000000000000000000000000"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4Qt_sz-1X-UHHXoihMJJE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a read call against an EVM smart contract on Ethereum or Base by submitting hex-encoded calldata and returning the raw on-chain result.","exampleAgentPrompt":"Call the balanceOf function on the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — here's the hex calldata: 0x70a08231000000000000000000000000abcdefabcdefabcdefabcdefabcdefabcdefabcd","exampleUseCases":[{"title":"Read token balance from Base","prompt":"Query the token balance for wallet 0xDEAD...BEEF on the USDC contract deployed on Base — use this calldata: 0x70a08231000000000000000000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeef"},{"title":"Check DeFi pool state on Ethereum","prompt":"I need to read the current reserves of a Uniswap V2 pool at 0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc on Ethereum — call it with getReserves calldata 0x0902f1ac"},{"title":"Verify NFT ownership on Base","prompt":"Check who owns token ID 42 on the NFT contract at 0x1234567890abcdef1234567890abcdef12345678 on Base using the ownerOf calldata 0x6352211e000000000000000000000000000000000000000000000000000000000000002a"}],"resultDescription":"A JSON object containing the raw hex result of the contract call, the chain queried, the contract address called, the provider name, and the round-trip latency in milliseconds. The result field holds the ABI-encoded return value which must be decoded by the caller.","failureModes":["Invalid hex calldata returns a parse or execution error","Contract address not deployed on the specified chain returns an empty result or revert","Unsupported chain value (anything other than 'ethereum' or 'base') returns a validation error","Network congestion or RPC downtime may cause elevated latency or timeout","Malformed contract_address (non-checksummed or invalid length) may cause a rejection"],"whenToPreferThis":"Use this endpoint when an AI agent needs to query on-chain state from an Ethereum or Base smart contract without running a local node or managing RPC keys. It is ideal for reading contract data (balances, ownership, pool state) via pre-encoded EVM calldata. Prefer this over general-purpose RPC providers when you need a pay-per-call x402-compatible API with no API key setup, especially in agentic pipelines that already handle USDC micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:35:23.752Z","isFirstParty":false,"canonicalSlug":"straelo-relay-chain-contract-call-bd95e068"}