# DeFi Shield Chain Comparison

> DeFi Shield Chain Comparison is a paid API for AI agents from defi-shield-hazel.vercel.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Compare 2-8 blockchain networks side-by-side by TVL, finality time, chain type, and native token with ranked scoring

## Facts

- Endpoint: POST https://defi-shield-hazel.vercel.app/api/chain/compare
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-shield-hazel-vercel-app-cd9ee63c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qQsJ824k39ixWql8Kx0-a

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 defi-shield-hazel-vercel-app-cd9ee63c -d '<json body>'
```

Example prompt: Can you compare Ethereum, Arbitrum, Base, and Optimism side by side — rank them by TVL, finality speed, chain type, and native token so I can decide which one to prioritize for a DeFi deployment?

## When to prefer this

Use this endpoint when an agent needs to objectively rank or choose between multiple blockchain networks for DeFi purposes, especially when TVL, finality, and chain type are relevant decision criteria. Prefer this over manual lookups or single-chain data endpoints when comparing 2-8 chains simultaneously with a scored recommendation.

## Known failure modes

- Fewer than 2 or more than 8 chains provided — returns validation error
- Unrecognized chain identifier — returns error for unknown chain names
- TVL data temporarily unavailable for a chain — partial results or error
- Payment not included or insufficient — x402 payment required error

## Output

A ranked comparison table of the 2-8 requested chains showing each chain's TVL, finality time, chain type (L1/L2/etc.), native token, and an overall ranked score to help identify the strongest chain for a given use case.

## Example request

```json
{
 "input": {
  "body": {
   "chains": [
    "ethereum",
    "arbitrum",
    "base",
    "optimism"
   ]
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "properties": {
      "chains": {
       "type": "array",
       "description": "Array of 2-8 chain names to compare"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/defi-shield-hazel-vercel-app-cd9ee63c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-shield-hazel.vercel.app](https://www.zero.xyz/host/defi-shield-hazel.vercel.app/llms.txt)
