# Optimism Address Inspector

> Optimism Address Inspector is a paid API for AI agents from automaton-tx-explainer.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-20).

Inspect an Optimism address to classify it as EOA, contract, or EIP-7702 delegated, and retrieve ETH balance, nonce, proxy implementation, and ERC-20 token metadata with copycat detection.

## Facts

- Endpoint: GET https://automaton-tx-explainer.vercel.app/v1/optimism/address?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/optimism-address-inspector-c9eb4421
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uvKY-J-ljdZDWz4lrWXEx

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 optimism-address-inspector-c9eb4421
```

Example prompt: Can you inspect the Optimism address 0x4200000000000000000000000000000000000006 and tell me if it's a contract or EOA, what its ETH balance and nonce are, whether it uses a proxy pattern, and if it's an ERC-20 token, flag it if it's a copycat of a major token like USDC or WETH?

## When to prefer this

Choose this endpoint when you need a comprehensive one-shot profile of an Optimism address — covering account type, balance, nonce, proxy architecture, and ERC-20 metadata — without having to call multiple RPC methods separately. Especially valuable for DeFi safety workflows where detecting copycat tokens or proxy upgradeability on Optimism is critical. Prefer over generic RPC calls when you need structured, interpreted output including the copycat detection flag.

## Known failure modes

- Invalid address format (must match ^0x[0-9a-fA-F]{40}$) returns a validation error
- Address not found or RPC timeout on Optimism network returns an error
- Non-token contract returns no ERC-20 fields (name/symbol/decimals/supply will be absent)
- Payment not included or invalid x402 payment header results in 402 Payment Required
- Proxy implementation detection may fail for non-standard proxy patterns not covered by EIP-1967/1167/ZOS

## How this service works

Inspect any Optimism address: EOA vs contract vs EIP-7702 delegated, ETH balance, nonce, proxy implementation (EIP-1967/1167/zos), and ERC-20 name/symbol/decimals/supply, and a flag for copycats of major tokens (USDC, USDT, WETH...) at a non-official address.

## Output

Returns the address type classification (EOA, contract, or EIP-7702 delegated), current ETH balance, transaction nonce, proxy implementation address if applicable (EIP-1967, EIP-1167, or ZOS patterns), and for token contracts: ERC-20 name, symbol, decimals, and total supply, plus a boolean flag indicating whether the token is a copycat of a major token (USDC, USDT, WETH, etc.) deployed at a non-official 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "Optimism address (EOA or contract)"
      }
     }
    }
   },
   "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/optimism-address-inspector-c9eb4421/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from automaton-tx-explainer.vercel.app](https://www.zero.xyz/host/automaton-tx-explainer.vercel.app/llms.txt)
