{"uid":"cap_VvHjtxAF6YHYlHEbuxR5J","slug":"x402-deployer-x402-deployer-workers-dev-f977c240","name":"Ethereum/EVM Contract Source & ABI Fetcher","description":"Verified contract source code / Etherscan source / contract ABI fetcher / Solidity source lookup. For any deployed contract on Ethereum, Base, Optimism, Arbitrum, or Polygon: returns is_verified, contract name, compiler version, parsed ABI, full source, license, optimizer settings, constructor args, and proxy implementation address.","url":"https://x402-deployer.x402-deployer.workers.dev/contract-source?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["address"],"properties":{"chain":{"enum":["base","ethereum","polygon","arbitrum","optimism"],"type":"string","description":"EVM chain. Default 'base'. Other supported: 'ethereum', 'polygon', 'arbitrum', 'optimism'."},"address":{"type":"string","description":"0x-prefixed 20-byte EVM contract address."}}},"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","properties":{"abi":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"inputs":{"type":"array"},"outputs":{"type":"array"},"stateMutability":{"type":"string"}}}},"name":{"type":"string"},"chain":{"type":"string"},"proxy":{"type":"boolean"},"source":{"type":"string"},"address":{"type":"string"},"license":{"type":"string"},"is_verified":{"type":"boolean"},"source_code":{"type":"string"},"optimization":{"type":"object","properties":{"runs":{"type":"integer"},"enabled":{"type":"boolean"}}},"compiler_version":{"type":"string"},"constructor_arguments":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tI-yJWC5mfdhn4QPDV6c2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches verified source code, ABI, compiler settings, and metadata for any deployed smart contract on Ethereum, Base, Optimism, Arbitrum, or Polygon.","exampleAgentPrompt":"Can you fetch the verified source code, ABI, and proxy implementation address for the contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum mainnet?","exampleUseCases":null,"resultDescription":"Returns a JSON object with is_verified (boolean), contract name, compiler version, full parsed ABI array, complete Solidity source code, SPDX license identifier, optimizer settings (enabled/runs), constructor arguments (hex-encoded), and proxy implementation address if applicable.","failureModes":["Contract address not found on specified chain — returns not_found or unverified status","Contract exists but source is not verified on the block explorer — is_verified: false with limited data","Invalid or malformed contract address — returns validation error","Unsupported chain specified — returns error indicating supported networks","Block explorer API rate limit or downtime — returns upstream error"],"whenToPreferThis":"Use this endpoint when you need to programmatically inspect a deployed smart contract's source code, ABI, or deployment metadata across major EVM chains without manually navigating Etherscan or similar explorers. Ideal for agents building contract interaction logic, auditing contracts, decoding transaction data, or verifying a contract's implementation before interacting with it.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:55:23.935Z","isFirstParty":false,"canonicalSlug":"x402-deployer-x402-deployer-workers-dev-f977c240"}