# GBLIN Risk Attestation

> GBLIN Risk Attestation is a paid API for AI agents from gblin.digital, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns a short-lived (10-minute), verifiable proof of the current BTC/ETH market risk regime (calm, elevated, or crash) derived from the on-chain Crash Shield, suitable for attaching to actions as proof-of-diligence.

## Facts

- Endpoint: GET https://gblin.digital/api/x402/attestation
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gblin-risk-attestation-b0ced274
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-6ca_JKrE9TR41hiavO84

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 gblin-risk-attestation-b0ced274
```

Example prompt: Before I execute this ETH swap, can you grab me a fresh GBLIN risk attestation so I can confirm the market is in a calm regime and attach the proof-of-diligence to my transaction?

## When to prefer this

Use this endpoint when you need a short-lived, verifiable, machine-readable proof of the current crypto market risk regime to attach to a transaction, trade, or action as proof-of-diligence. It is distinct from generic price feeds because it produces a tamper-evident attestation (optionally EIP-712 signed) that a counterparty can cryptographically verify in one step — not just a raw price or volatility number.

## Known failure modes

- Payment not included or insufficient (x402 payment required, $0.003 USDC)
- Attestation expires after 10 minutes and must be re-fetched
- On-chain Crash Shield data unavailable or stale
- EIP-712 signature not present if signing not configured
- Network or RPC connectivity issues to underlying chain

## How this service works

EIP-712-signed risk attestation, verifiable OFFLINE in one step — no trust in this server required. Perishable (10-min) proof of the BTC/ETH risk regime (calm | elevated | crash) from GBLIN's on-chain Crash Shield on Base. Bought daily by a third-party ERC-8004 agent as a pinned input of its decision rule until 16 Aug 2026 (see /receipts). FREE sample: GET /api/x402/attestation-sample. Free verifier: verify_risk_attestation in @gblin-protocol/mcp-server.

## Output

A perishable (expires in 10 minutes) attestation object containing the current BTC/ETH risk regime label (calm, elevated, or crash), a tamper-evident attestation ID, and optionally an EIP-712 signature — all derived from the on-chain Crash Shield. Counterparties can verify it in one step using the free verifier in @gblin-protocol/mcp-server.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "signed": false,
  "verify": {
   "free_mcp_tool": "npx @gblin-protocol/mcp-server → verify_risk_attestation"
  },
  "attestor": "0x… (published GBLIN attestor, else null)",
  "signature": "0x… (present when attestor key configured, else null)",
  "attestation": {
   "regime": "calm",
   "chain_id": 8453,
   "contract": "0x36C81d7E1966310F305eA637e761Cf77F90852f0",
   "issued_at": 1747600000,
   "expires_at": 1747600600,
   "basket_hash": "0xabcd…",
   "regime_code": 0,
   "ttl_seconds": 600,
   "block_number": 34567890,
   "risk_posture": "risk_on",
   "severity_bps": 0,
   "severity_pct": 0,
   "shield_active": false,
   "defensive_cash_pct": 10
  },
  "attestation_id": "0x9f1c…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gblin-risk-attestation-b0ced274/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gblin.digital](https://www.zero.xyz/host/gblin.digital/llms.txt)
