# Mint Intel: Base Chain Contract Code Inspector

> Mint Intel: Base Chain Contract Code Inspector is a paid API for AI agents from mintintel.35-171-220-195.sslip.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-31).

Inspects the bytecode of any Base address to determine if it's a contract or EOA, its code size, keccak hash, proxy type, and optionally its full deployed bytecode.

## Facts

- Endpoint: GET https://mintintel.35-171-220-195.sslip.io/v1/base/code/:address?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mint-intel-base-chain-contract-code-inspector-36cee8ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jCuizZOUy3zS_Z8QDVNCP

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 mint-intel-base-chain-contract-code-inspector-36cee8ff
```

Example prompt: Can you check if the Base address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 is a smart contract or a regular wallet, and if it's a contract, what kind — is it a proxy or delegated EOA?

## When to prefer this

Use this endpoint when you need to classify a Base chain address as EOA or contract, detect proxy patterns (EIP-1167, EIP-7702), retrieve bytecode metadata, or fetch full deployed bytecode for auditing — specifically on the Base L2 network. Prefer this over Ethereum equivalents when the address is on Base.

## Known failure modes

- Invalid or malformed address format returns an error
- Address not found on Base returns codeSizeBytes of 0 and isContract false (valid EOA)
- Network or RPC timeout may return a 5xx error
- Requesting full=1 on a very large contract may be slow or hit size limits

## How this service works

Is a Base address a contract? eth_getCode: code size, keccak code hash, EOA vs contract, EIP-7702 delegated EOA (and its delegate), EIP-1167 minimal-proxy target, bytecode prefix; ?full=1 returns the whole deployed bytecode.

## Output

Returns a JSON object containing the address, a boolean isContract flag, code size in bytes, keccak hash of the bytecode, a bytecode prefix, EOA vs contract classification, EIP-7702 delegation info (delegate address if applicable), EIP-1167 minimal proxy target address if applicable, and optionally the full deployed bytecode when full=1 is passed.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "0x-prefixed 20-byte EVM address"
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "full": {
       "type": "integer",
       "maximum": 1,
       "minimum": 0,
       "description": "1 = include the full deployed bytecode (default 0: size, hash and prefix only)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "address",
      "isContract",
      "codeSizeBytes"
     ],
     "properties": {
      "address": {
       "type": "string"
      },
      "isContract": {
       "type": "boolean"
      },
      "codeSizeBytes": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mint-intel-base-chain-contract-code-inspector-36cee8ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mintintel.35-171-220-195.sslip.io](https://www.zero.xyz/host/mintintel.35-171-220-195.sslip.io/llms.txt)
