{"uid":"cap_i-INhDls773PqpiaYJFpf","slug":"contract-abi-lookup-via-x402helper-45f957da","name":"Contract ABI Lookup via x402helper","description":"X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.","url":"https://x402helper.xyz/89e509/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"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","default":null,"description":"Contract address, 0x + 40 hex"},"network":{"enum":["base","ethereum","arbitrum","optimism","polygon","bnb"],"type":"string","default":null,"description":"EVM network (default base)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B0G6qsCGJ05CFauwMaYVW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","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) for a smart contract on an EVM-compatible network, given a contract address.","exampleAgentPrompt":"Can you fetch the ABI for the smart contract at 0x1234567890abcdef1234567890abcdef12345678 on the Base network?","exampleUseCases":[{"title":"DeFi contract interface discovery","prompt":"I need the ABI for the contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum so I can see what functions it exposes."},{"title":"Multi-chain contract inspection","prompt":"Can you pull the ABI for contract 0x4200000000000000000000000000000000000006 on Optimism? I want to know what events and methods it has."},{"title":"Arbitrum contract integration prep","prompt":"Fetch the ABI for 0x912CE59144191C1204E64559FE8253a0e49E6548 on Arbitrum — I'm trying to understand how to interact with it programmatically."}],"resultDescription":"A JSON object with a 'success' boolean and a 'result' object containing the contract ABI — an array of function signatures, event definitions, and constructor details for the requested smart contract on the specified EVM network.","failureModes":["Invalid or unverified contract address returns empty or null ABI","Unsupported network name returns an error","Contract not verified on-chain may return no ABI","Malformed 0x address format causes validation failure","Payment not included or insufficient USDC results in 402 rejection"],"whenToPreferThis":"Use this endpoint when you need to programmatically retrieve a smart contract's ABI from an EVM-compatible network (Base, Ethereum, Arbitrum, Optimism, Polygon, BNB) and are operating in an x402 micropayment-enabled agent environment. It is well-suited for agents that need to inspect contract interfaces before interacting with DeFi protocols or token contracts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:22.837Z","isFirstParty":false,"canonicalSlug":"contract-abi-lookup-via-x402helper-45f957da"}