# Vextorium EVM Contract Detector

> Vextorium EVM Contract Detector is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-18).

Determines whether an EVM address is a smart contract or an EOA wallet, returning bytecode size, code hash, EIP-7702 delegation info, and EIP-1167 minimal proxy detection across 12 major EVM chains.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/evm-is-contract?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-evm-contract-detector-c305a336
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gOuGfVdz2tKA7PR9AFoeU

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 vextorium-evm-contract-detector-c305a336 -d '<json body>'
```

Example prompt: Can you check if 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base is a smart contract or a regular wallet, and if it is a contract, give me the bytecode size and code hash?

## When to prefer this

Use this endpoint when you need reliable, multi-chain EVM address type detection including EIP-1167 minimal proxy and EIP-7702 delegation classification, which most generic blockchain explorers do not surface. Prefer this over manually querying eth_getCode RPC calls when you need structured output with bytecode metadata across 12 chains in a single consistent API. Ideal for agents performing security checks, DeFi routing logic, or address enrichment pipelines.

## Known failure modes

- Invalid or malformed EVM address returns an error response
- Unsupported network name returns a validation error
- Address not found or zero-address edge cases may return is_contract: false
- Network connectivity issues to the target chain RPC may cause timeouts
- Rate limiting or payment failures (x402) if quota is exceeded

## How this service works

558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.

## Output

Returns a JSON object with: the address, the network it was checked on, a boolean is_contract indicating whether the address is a smart contract, the bytecode size in bytes, the keccak256 code hash, and the contract type string (e.g. 'contrato', proxy classification). Returns null for wallet/EOA fields where not applicable.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "address": {
   "type": "string"
  },
  "network": {
   "enum": [
    "base",
    "ethereum",
    "arbitrum",
    "optimism",
    "polygon",
    "bnb",
    "avalanche",
    "gnosis",
    "line",
    "scroll",
    "sonic",
    "unichain"
   ],
   "type": "string",
   "description": "Chain (default base)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "contrato",
  "bytes": 1852,
  "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "network": "base",
  "code_hash": "0xa6705a10bb756b5dea144591118be77d7af0c3eee3bf2dfe2583dcb0364fefab",
  "is_contract": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-evm-contract-detector-c305a336/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
