# EVM Contract ABI Lookup

> EVM Contract ABI Lookup is a paid API for AI agents from 138-197-15-135.sslip.io, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-31).

Fetches the verified ABI, function list, event list, compiler version, and proxy implementation details for a smart contract address on Base, Ethereum, Arbitrum, or Optimism.

## Facts

- Endpoint: GET https://138-197-15-135.sslip.io/v1/contract/abi?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-contract-abi-lookup-16a07fd0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CXWuhPC9KuBfXCQ8BnbNS

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 evm-contract-abi-lookup-16a07fd0
```

Example prompt: Can you pull the full ABI and list of functions for the contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base?

## When to prefer this

Use this endpoint when you need to programmatically inspect or call a deployed EVM smart contract and require its ABI, function signatures, or event list — especially across Base, Ethereum, Arbitrum, or Optimism. Prefer this over block explorers when you need structured JSON output suitable for agent-driven contract interactions, or when you need proxy resolution built in. Costs $0.004 USDC per call via x402 micropayment.

## Known failure modes

- Unverified contract returns verified=false with null ABI
- Non-contract address (EOA) returns isContract=false
- Invalid address format may return an error or empty result
- Unsupported chain name returns an error
- Rate limiting or payment failure via x402 returns HTTP 402

## How this service works

Whether a contract on Base, Ethereum, Arbitrum or Optimism is source-verified (Sourcify), its name, compiler, full ABI, function and event signatures, and its EIP-1967 proxy implementation (also looked up). Deterministic, no LLM.

## Output

Returns a JSON object containing the full ABI array, human-readable function and event signature lists, contract name, compiler version, verification status, whether the address is a contract, the chain it was looked up on, match type (exact or similar), and the proxy implementation address if applicable. Null fields indicate unavailable data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "queryParams"
   ],
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain: base (default), ethereum, arbitrum, optimism"
      },
      "address": {
       "type": "string",
       "description": "Contract address"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [],
     "properties": {
      "abi": {
       "type": [
        "array",
        "null"
       ]
      },
      "name": {
       "type": [
        "string",
        "null"
       ]
      },
      "chain": {
       "type": [
        "string",
        "null"
       ]
      },
      "match": {
       "type": [
        "string",
        "null"
       ]
      },
      "events": {
       "type": [
        "array",
        "null"
       ]
      },
      "address": {
       "type": [
        "string",
        "null"
       ]
      },
      "compiler": {
       "type": [
        "string",
        "null"
       ]
      },
      "verified": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "functions": {
       "type": [
        "array",
        "null"
       ]
      },
      "isContract": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "proxyImplementation": {
       "type": [
        "string",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "abi": [],
  "name": "FiatTokenProxy",
  "chain": "base",
  "match": "exact_match",
  "events": [
   "Upgraded(address)"
  ],
  "address": "0x…",
  "compiler": "0.6.12",
  "verified": true,
  "functions": [
   "admin()"
  ],
  "isContract": true,
  "proxyImplementation": "0x…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-contract-abi-lookup-16a07fd0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 138-197-15-135.sslip.io](https://www.zero.xyz/host/138-197-15-135.sslip.io/llms.txt)
