{"uid":"cap_uOTRrpaBX4XY7HJOGVJJt","slug":"verified-contract-abi-sourcify-2e641e29","name":"Verified Contract ABI (Sourcify)","description":"ABI and readable function/event signatures of a verified smart contract from Sourcify, with contract name, compiler, licence, proxy implementation and deployer. Use before calling or decoding a contract.","url":"https://bess-x402.onrender.com/v1/evm/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","required":["address"],"properties":{"chain":{"type":"string","description":"ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, gnosis, linea, scroll, zksync or a chain id"},"address":{"type":"string","description":"Contract address (0x...)"}}}},"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_E2ZgDEZhWKLvxB2fSrlFW","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 and readable function/event signatures of a verified smart contract from Sourcify, along with contract name, compiler, licence, proxy implementation, and deployer address.","exampleAgentPrompt":"Can you fetch the verified ABI and function signatures for the smart contract at 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 on Ethereum from Sourcify, including the deployer and whether it's a proxy?","exampleUseCases":[{"title":"Inspect DeFi protocol contract interface","prompt":"I need to interact with the Uniswap V3 pool contract at 0x8ad599c3A0ff1De082011EFDDc58f1908eb6e6D8 on Ethereum — can you pull its verified ABI from Sourcify so I know exactly what functions and events are available?"},{"title":"Identify proxy implementation before calling","prompt":"Before I call the contract at 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D on Ethereum, can you check Sourcify to see if it's a proxy, get the implementation address, and return the ABI?"},{"title":"Verify contract on Base for audit prep","prompt":"I'm auditing a contract deployed at 0x4200000000000000000000000000000000000006 on Base — please fetch its verified ABI, compiler version, and licence from Sourcify so I can start reviewing the interface."}],"resultDescription":"Returns the contract's full ABI as a structured list of function and event definitions with readable signatures, along with metadata including the contract name, compiler version, licence type, proxy implementation address (if applicable), and deployer address — all sourced from Sourcify's on-chain verification data.","failureModes":["Contract not verified on Sourcify — returns an error or empty result if the contract has not been verified","Invalid address format — error if the address is not a valid 0x-prefixed hex address","Unsupported chain — error if the chain name or ID is not among the supported networks","Network or provider outage — timeout or 5xx error if Sourcify or the underlying RPC is unavailable","Undeployed address — no contract found at the given address on the specified chain"],"whenToPreferThis":"Use this endpoint when you need the ABI or function/event signatures of a smart contract before calling or decoding it, especially when you want verified metadata (contract name, compiler, licence, proxy info, deployer) sourced from Sourcify. Prefer this over generic ABI fetchers when Sourcify verification is important for trust, or when you need proxy implementation resolution alongside the ABI. If the contract is only verified on Etherscan and not Sourcify, results may be unavailable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:35:19.702Z","isFirstParty":false,"canonicalSlug":"verified-contract-abi-sourcify-2e641e29"}