{"uid":"cap_6si7S1YzizAuZKA1criHW","slug":"riley-craig-x402-agent-store-on-chain-contract-call-3bacee4a","name":"Riley Craig x402 Agent Store — On-Chain Contract Call","description":"Simulate any read-only Ethereum contract call via eth_call — pass a contract address and encoded calldata, get the raw return value, across Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis. The universal contract-read primitive for agents that need a view function not covered by a dedicated endpoint. Live public RPC; one paid call at $0.001.","url":"https://store.agentexchange.work/chain/call","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":["to","data"],"properties":{"to":{"type":"string","description":"Contract address (0x...)"},"data":{"type":"string","description":"ABI-encoded calldata (0x...)"},"chain":{"type":"string","description":"base|ethereum|optimism|arbitrum|polygon|gnosis (default base)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"result":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fN57ZmHOFU5LcaZfhFyS_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.09","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 smart contract call (eth_call) on a specified EVM chain and returns ABI-encoded result data, payable per-call in USDC via x402.","exampleAgentPrompt":"Call the smart contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base using the ABI-encoded calldata 0x70a08231000000000000000000000000<address> and return the raw result.","exampleUseCases":null,"resultDescription":"A JSON object containing the target contract address, the chain it was queried on, and the raw ABI-encoded hex result of the contract call (e.g. {\"to\":\"0x...\",\"chain\":\"base\",\"result\":\"0x000...\"}).","failureModes":["Invalid contract address returns error or empty result","Malformed ABI-encoded calldata causes revert or decode error","Unsupported chain name returns 400 or validation error","Contract does not exist at address on specified chain","Payment of 0.001 USDC not fulfilled causes 402 response","Network congestion on target chain causes timeout"],"whenToPreferThis":"Use this endpoint when you need to read state from any EVM-compatible smart contract without setting up RPC infrastructure or managing API keys. Ideal for AI agents that need on-chain data (token balances, prices, protocol state) on a pay-per-call basis with no subscription required. Prefer over self-hosted RPC when you want zero-setup, metered blockchain access payable in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:53:38.037Z","isFirstParty":false}