{"uid":"cap_GLXYTLyeQPL4xGB8lSEdr","slug":"eth-mainnet-contract-abi-05b912d2","name":"ETH Mainnet Contract ABI","description":"Ethereum mainnet contract ABI. Takes query parameter address (contract, 0x + 40 hex). Returns the contract's ABI as JSON when one is available for that address.","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/x402_eth_reads_v1/eth_mainnet_contract_abi?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"contract, 0x + 40 hex"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ls5v0BvIGetVKue1f1YuC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the ABI (Application Binary Interface) JSON for a given Ethereum mainnet contract address","exampleAgentPrompt":"Can you fetch the ABI for the Ethereum mainnet contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 so I can see what functions it exposes?","exampleUseCases":[{"title":"Decode DeFi protocol interactions","prompt":"I need to call functions on the Uniswap V2 router at 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D on Ethereum mainnet — can you pull its ABI so I know what methods are available?"},{"title":"Verify ERC20 token contract interface","prompt":"Fetch the ABI for the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum mainnet so I can verify it follows the ERC20 standard and see its exact function signatures."},{"title":"Build contract interaction for a dApp","prompt":"I'm building a tool to interact with the Aave lending pool at 0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9 on Ethereum — can you retrieve the contract ABI so I can figure out how to call the deposit function?"}],"resultDescription":"A JSON array representing the contract's ABI, including all public function definitions (name, inputs, outputs, stateMutability), event definitions, and constructor parameters. Returns an error or empty result if no verified ABI is available for the given address.","failureModes":["Contract address not verified on Etherscan — no ABI available, returns empty or error","Invalid address format (not 0x + 40 hex) — schema validation failure","Contract is a proxy and ABI may reflect proxy rather than implementation logic","Unverified or self-destructed contracts may return no ABI","Network or RPC connectivity issues causing timeout"],"whenToPreferThis":"Use this endpoint when you need the ABI for a specific Ethereum mainnet contract and want a fast, paid lookup without setting up your own Etherscan API key or RPC node. Ideal for AI agents that need to dynamically resolve contract interfaces at runtime to encode/decode calls or understand contract capabilities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:43:06.122Z","isFirstParty":false,"canonicalSlug":"eth-mainnet-contract-abi-05b912d2"}