{"uid":"cap_pvMXS0bXEj_y7C1FHyC2x","slug":"wallet-approval-audit-ethereum-contract-abi-fetcher-d1f9cb8b","name":"Wallet Approval Audit — Ethereum Contract ABI Fetcher","description":"Returns the ABI of a verified Ethereum smart contract as JSON, for use in wallet approval auditing. Takes a contract address (0x + 40 hex). Query: address (contract, 0x + 40 hex).","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_contract_abi_service/wallet_approval_audit?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":{"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"contract, 0x + 40 hex"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean"},"chain":{"type":"string"},"error":{"type":"string","description":"present when ok is false"},"method":{"type":"string"},"result":{"type":"object","properties":{"abi":{"type":["array","null"]},"match":{"type":["string","null"]},"proxy":{"type":["object","null"]},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"isProxy":{"type":["boolean","null"]},"verified":{"type":"boolean"},"implementation":{"type":["string","null"]}}},"service":{"type":"string"}}}}}}},"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_zuFeVU640NZ8kuRfrIDDW","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 verified ABI of an Ethereum smart contract as JSON, enabling wallet approval auditing and contract interaction analysis.","exampleAgentPrompt":"Can you pull the verified ABI for the Ethereum contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 so I can audit what functions it exposes before approving it in my wallet?","exampleUseCases":[{"title":"Token approval safety check","prompt":"Before I approve this contract in MetaMask, can you fetch the ABI for 0xdAC17F958D2ee523a2206206994597C13D831ec7 and tell me what functions it has — I want to make sure it's a verified contract and not something sketchy."},{"title":"DeFi protocol contract inspection","prompt":"I'm about to interact with the Uniswap V3 router at 0xE592427A0AEce92De3Edee1F18E0157C05861564 — can you get its verified ABI so I know what functions are available and whether it's a proxy contract?"},{"title":"Wallet approval audit for revocation","prompt":"I have a list of contracts I've approved in my wallet and I want to start with 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D — can you fetch its ABI and check if it's verified so I can decide whether to revoke my approval?"}],"resultDescription":"Returns a JSON object with: ok (boolean success flag), a result object containing the contract ABI as a JSON array (or null if unverified), verification status (boolean), proxy detection (isProxy boolean, proxy details object, implementation address), the contract address, and optionally a match string. On failure, an error string is included.","failureModes":["Invalid contract address format (not 0x + 40 hex) — request rejected","Contract not verified on Etherscan — returns verified: false with null ABI","Contract address does not exist on Ethereum mainnet — ok: false with error","Network or RPC timeout — ok: false with error message","Payment failure via x402 — request not processed"],"whenToPreferThis":"Use this endpoint when you need the ABI of a specific Ethereum mainnet smart contract for wallet approval auditing, contract interaction planning, or proxy detection. Prefer this over generic Etherscan API wrappers when you need a structured, agent-friendly response that includes proxy resolution and verification status in a single call. Best suited for security-conscious workflows where you want to inspect what a contract does before approving or signing a transaction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:48:37.233Z","isFirstParty":false,"canonicalSlug":"wallet-approval-audit-ethereum-contract-abi-fetcher-d1f9cb8b"}