{"uid":"cap_HGsgDsrPb1kx-12e_BxfD","slug":"defi-shield-hazel-vercel-app-074bb2be","name":"Base Contract ABI Fetcher with Proxy Detection","description":"","url":"https://defi-shield-hazel.vercel.app/api/data/contract-abi","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","bodyType","body","method"],"properties":{"body":{"properties":{"address":{"type":"string","description":"Contract address to fetch ABI (0x + 40 hex chars)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KveYJ5Tlc5NeuCk1X0pWA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the verified ABI for a smart contract address on the Base blockchain, with automatic proxy contract detection and resolution","exampleAgentPrompt":"Can you fetch the verified ABI for the contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base, and make sure you resolve the actual implementation if it's a proxy?","exampleUseCases":null,"resultDescription":"Returns the verified ABI (as a JSON array of function/event definitions) for the given Base contract address, with proxy detection — if the contract is a proxy, the ABI returned is for the underlying implementation contract, not just the proxy shell.","failureModes":["Contract address not verified on Base — unverified contracts have no ABI available","Invalid or malformed contract address — returns error","Contract is a proxy but implementation is unverified — partial or no ABI returned","Network errors reaching Base RPC or Etherscan-compatible API","Rate limit or payment failure for the $0.1 USDC per-call fee"],"whenToPreferThis":"Use this endpoint when you need to interact programmatically with a Base smart contract and require its ABI, especially when the contract may be a proxy (EIP-1967, transparent, UUPS) and you need the real implementation ABI rather than the proxy's minimal interface. Prefer over raw Etherscan API calls when proxy detection and resolution is needed automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:40:08.910Z","isFirstParty":false}