# ETH Mainnet Contract ABI

> ETH Mainnet Contract ABI is a paid API for AI agents from ari001.tailb4ac3a.ts.net, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-11).

Returns the ABI (Application Binary Interface) JSON for a given Ethereum mainnet contract address

## Facts

- Endpoint: GET https://ari001.tailb4ac3a.ts.net/v1/ventures/x402_eth_reads_v1/eth_mainnet_contract_abi?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eth-mainnet-contract-abi-05b912d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GLXYTLyeQPL4xGB8lSEdr

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability eth-mainnet-contract-abi-05b912d2
```

Example prompt: Can you fetch the ABI for the Ethereum mainnet contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 so I can see what functions it exposes?

## When to prefer this

Use this endpoint when you need the ABI for a specific Ethereum mainnet contract and want a fast, paid lookup without setting up your own Etherscan API key or RPC node. Ideal for AI agents that need to dynamically resolve contract interfaces at runtime to encode/decode calls or understand contract capabilities.

## Known failure modes

- Contract address not verified on Etherscan — no ABI available, returns empty or error
- Invalid address format (not 0x + 40 hex) — schema validation failure
- Contract is a proxy and ABI may reflect proxy rather than implementation logic
- Unverified or self-destructed contracts may return no ABI
- Network or RPC connectivity issues causing timeout

## How this service works

Ethereum mainnet contract ABI. Takes query parameter address (contract, 0x + 40 hex). Returns the contract's ABI as JSON when one is available for that address.

## Output

A JSON array representing the contract's ABI, including all public function definitions (name, inputs, outputs, stateMutability), event definitions, and constructor parameters. Returns an error or empty result if no verified ABI is available for the given address.

## Request schema (JSON Schema)

```json
{
 "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",
     "properties": {
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "contract, 0x + 40 hex"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eth-mainnet-contract-abi-05b912d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ari001.tailb4ac3a.ts.net](https://www.zero.xyz/host/ari001.tailb4ac3a.ts.net/llms.txt)
