Fetch a contract's verified ABI + proxy resolution (paid $0.002)
abi_fetchFetch verified ABI and metadata for a contract on EVM chains. Resolves proxy patterns to return the implementation's ABI and function/event signatures.
Instructions
PAID $0.002 (x402, USDC on Base). Fetch the verified ABI + metadata for a contract. Give {address, chain}; get the ABI JSON, verification status/source (Sourcify or Blockscout), the callable function/event signatures, and full proxy-implementation resolution (EIP-1967/1822/OZ-legacy/beacon) — returning the implementation's ABI when it's a proxy. Without payment returns the x402 challenge; pass x_payment to settle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | EVM chain: ethereum | base | arbitrum | optimism | polygon | bsc. | |
| address | Yes | Contract address (0x + 40 hex). | |
| x_payment | No | x402 payment payload (base64) for this PAID decode. If supplied it is forwarded as the X-PAYMENT header to settle the call and return the real result instead of a 402 challenge. Omit to get the price challenge first. |