# Tokenguard Chain Brief

> Tokenguard Chain Brief is a paid API for AI agents from eltociear-tokenguard.hf.space, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns a health snapshot of a specified blockchain including TVL, gas price, TVL trend, and recent exploit count

## Facts

- Endpoint: POST https://eltociear-tokenguard.hf.space/brief/chain
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenguard-chain-brief-da69792d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dp7maR_zh246vTbBGQ32I

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 tokenguard-chain-brief-da69792d -d '<json body>'
```

Example prompt: Can you give me a quick health check on the Base chain — TVL, gas prices, recent exploits, that kind of thing?

## When to prefer this

Use this endpoint when you need a fast, structured one-call summary of a chain's health — TVL, gas, and exploit history — rather than querying multiple separate on-chain data sources. Ideal for pre-transaction checks, chain comparison, or agent dashboards monitoring DeFi network conditions across the 6 supported EVM chains.

## Known failure modes

- Invalid or unsupported chain name returns an error — only base, ethereum, arbitrum, optimism, polygon, bsc are accepted
- Service unavailable if Hugging Face Space is sleeping or rate-limited
- Payment failure if x402 micropayment is not properly attached to the request
- Stale data possible if underlying on-chain data sources are delayed

## How this service works

One-call chain health: current gas cost and congestion level, 30-day TVL trend, and recent exploits filtered to that chain, resolved into a healthy / mixed / strained verdict. Supports base, ethereum, arbitrum, optimism, polygon, bsc.

## Output

A JSON object containing: chain name, health status (e.g. 'healthy'), total value locked in USD, current gas level descriptor (e.g. 'cheap'), TVL trend direction, gas price in gwei, 30-day TVL change percentage, and count of recent exploits on that chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "ethereum",
    "arbitrum",
    "optimism",
    "polygon",
    "bsc"
   ],
   "type": "string",
   "description": "Chain to profile (default base)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "health": "healthy",
  "tvl_usd": 3120000000,
  "gas_level": "cheap",
  "tvl_trend": "growing",
  "gas_price_gwei": 0.006,
  "tvl_30d_change_pct": 8.4,
  "recent_exploit_count": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenguard-chain-brief-da69792d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eltociear-tokenguard.hf.space](https://www.zero.xyz/host/eltociear-tokenguard.hf.space/llms.txt)
