{"uid":"cap_yaJyR4TaJ7Sqj1JfEyu_z","slug":"base-mainnet-eth-call-raw-d06c5652","name":"Base Mainnet eth_call (Raw)","description":"Generic read-only eth_call against any Base mainnet contract - pass raw calldata, get the raw return data back.","url":"https://x402.agentindex.world/base/call?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","title":"To"},"data":{"type":"string","title":"Data","default":"0x"},"value_wei":{"type":"integer","title":"Value Wei","default":0},"from_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Address","default":null}}},"responseSchema":null,"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_3c2CCKd6qEQq2xSrF98Mj","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 generic read-only eth_call against any Base mainnet smart contract, returning raw ABI-encoded return data.","exampleAgentPrompt":"Call the Base mainnet contract at 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA with calldata 0x18160ddd to read its totalSupply — I just need the raw hex return value.","exampleUseCases":[{"title":"Read ERC20 total supply","prompt":"Query the Base mainnet contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 with calldata 0x18160ddd and give me the raw return data so I can decode the total supply of USDC on Base."},{"title":"Check DeFi protocol state","prompt":"I need to call the Aave pool contract on Base at 0xA238Dd80C259a72e81d7e4664a9801593F98d1c5 with calldata 0x35ea6a75000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913 — give me back the raw hex so I can parse the reserve data."},{"title":"Verify NFT ownership on Base","prompt":"Run an eth_call on Base to contract 0xd4307e0acd12cf46fd6cf93bc264f5d5d1598792 with calldata 0x6352211e0000000000000000000000000000000000000000000000000000000000001234 and return the raw response so I can see who owns token #4660."}],"resultDescription":"A hex-encoded raw return value from the Base mainnet eth_call, representing the ABI-encoded output of the contract function called. The agent receives the raw bytes and is responsible for decoding them using the contract's ABI.","failureModes":["Invalid or non-contract 'to' address returns empty data or reverts","Malformed calldata causes execution revert, returning an error message","Contract execution reverts (e.g. require/revert) — revert reason may be returned as hex","Non-hex or incorrectly formatted 'data' field causes a 400/422 validation error","Contract not deployed on Base mainnet returns empty response","Network congestion or RPC timeout may cause delays or 5xx errors"],"whenToPreferThis":"Use this endpoint when you need to call any arbitrary Base mainnet smart contract with custom calldata and want the raw ABI-encoded response back, without setting up your own Base RPC node or SDK. Ideal for advanced use cases where you already know the ABI and calldata encoding, or when the sibling base-allowance and base-basename endpoints don't cover your specific function. For higher-level operations like ERC20 allowances or Basename resolution, prefer the purpose-built sibling endpoints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:45:28.232Z","isFirstParty":false,"canonicalSlug":"base-mainnet-eth-call-raw-d06c5652"}