# Saylor Innovations EVM Contract/Wallet Inspector

> Saylor Innovations EVM Contract/Wallet Inspector is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Returns deployed bytecode size, account type (EOA, contract, EIP-7702 delegated), and optionally runtime bytecode for any address on 16 EVM chains

## Facts

- Endpoint: GET https://saylorinnovations.com/api/chain/code?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-evm-contract-wallet-inspector-6f386646
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K4LrfZvUxl-LzSFGHSffE

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 saylor-innovations-evm-contract-wallet-inspector-6f386646
```

Example prompt: Is 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 a contract or a regular wallet on Ethereum, and how big is its bytecode?

## When to prefer this

Choose this endpoint when you need to classify an EVM address as a contract, plain EOA, or EIP-7702 delegated account across any of 16 supported chains, especially when bytecode size or the delegation target matters. It is particularly valuable for detecting EIP-7702 smart accounts, which many generic RPC calls misclassify. Prefer this over raw RPC calls when you want structured, normalized output across chains without managing individual node connections.

## Known failure modes

- Invalid or malformed address returns an error response
- Unsupported chain name or chain ID returns an error
- Address not found on chain returns code_size_bytes of 0 and is_contract false
- Network or RPC timeout may cause temporary unavailability
- EIP-7702 delegate_target only populated for delegated EOA accounts; null otherwise

## How this service works

Contract or wallet check on 16 EVM chains: deployed bytecode size, account kind including EIP-7702 delegated accounts, optional runtime bytecode.

## Output

A JSON object containing the queried chain name and chain ID, the address checked, a boolean is_contract flag, an account_kind string (contract, eoa_or_empty, or eip7702_delegated_eoa), the deployed code size in bytes, optionally the runtime bytecode as hex (when full=true), and for EIP-7702 accounts the delegate_target contract 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": [
      "chain",
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "chain name (ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, gnosis, linea, scroll, mantle, blast, sonic, celo, berachain, unichain) or chain id"
      },
      "address": {
       "type": "string",
       "description": "the address to check"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "chain_id",
      "address",
      "is_contract",
      "account_kind",
      "code_size_bytes",
      "source"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "the chain name that was queried"
      },
      "source": {
       "type": "string",
       "description": "where the data was read from"
      },
      "address": {
       "type": "string",
       "description": "the address that was checked"
      },
      "bytecode": {
       "type": [
        "string",
        "null"
       ],
       "description": "runtime bytecode as hex, only when full=true"
      },
      "chain_id": {
       "type": "number",
       "description": "EIP-155 chain id of that network"
      },
      "is_contract": {
       "type": "boolean",
       "description": "true when the address has contract code (EIP-7702 delegated accounts count as accounts, not contracts)"
      },
      "account_kind": {
       "type": "string",
       "description": "contract, eoa_or_empty or eip7702_delegated_eoa"
      },
      "code_size_bytes": {
       "type": "number",
       "description": "size of the deployed runtime code in bytes"
      },
      "delegate_target": {
       "type": [
        "string",
        "null"
       ],
       "description": "for EIP-7702 accounts, the contract the account delegates to"
      },
      "bytecode_truncated": {
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-evm-contract-wallet-inspector-6f386646/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
