{"uid":"cap_J1iAK6_Pz96FG5xGPDQ50","slug":"pocket-network-contract-abi-source-lookup-12d75ca5","name":"Pocket Network Contract ABI & Source Lookup","description":"Pay-per-call access to Pocket Network services. No account, no API key.","url":"https://agent.pocket.network/v1/contract-abi?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"address":{"type":"string","description":"Contract address, 0x-prefixed."},"chain_id":{"type":"integer","description":"EVM chain id (default 1)."}}},"responseSchema":{"type":"json","example":{"data":{},"portal":{"serviceId":"contract-abi","provenance":"third-party-supplier","schemaCheck":"passed"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SxDyNysz5cpbdLalfYDyt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns verified EVM smart contract source code, ABI, and EIP-1967 proxy resolution for a given contract address across 6 chains","exampleAgentPrompt":"Can you fetch the verified ABI and source code for the contract at 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 on Ethereum mainnet (chain ID 1)?","exampleUseCases":[{"title":"DeFi protocol interaction setup","prompt":"I need the ABI for the Uniswap V3 pool contract at 0x8f8EF111B67C04Eb1641f5ff19EE54Cda062f163 on Ethereum mainnet — chain ID 1 — so I can encode calls to it."},{"title":"Proxy contract implementation resolution","prompt":"Can you check if 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 on Ethereum (chain ID 1) is a proxy contract, and if so, resolve the underlying implementation ABI and source?"},{"title":"Multi-chain contract audit research","prompt":"Pull the verified source code and ABI for the contract at 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 on BNB Smart Chain, chain ID 56, so I can review its implementation."}],"resultDescription":"A JSON object containing the verified contract source code, ABI (array of function/event definitions), proxy detection result (EIP-1967), and portal metadata including serviceId and provenance. The ABI can be used directly to encode/decode contract calls.","failureModes":["Contract address not verified on the target chain — returns empty or error data","Unsupported chain_id — only 6 EVM chains are supported","Invalid or malformed 0x address — request rejected","Contract exists but source not submitted to verifier — no source returned","Payment failure in USDC — request not processed"],"whenToPreferThis":"Choose this endpoint when you need verified ABI or source code for an EVM smart contract without signing up for an API key or account. It is especially useful for proxy-aware resolution (EIP-1967) in a single request, supports 6 chains in one unified API, and charges only per request in USDC. Prefer it over Etherscan or similar APIs when operating in an autonomous agent context with x402 micropayment support.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:28:18.275Z","isFirstParty":false,"canonicalSlug":"pocket-network-contract-abi-source-lookup-12d75ca5"}