# GBLIN Treasury State

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

Returns real-time GBLIN protocol state including NAV in USD, basket composition with dynamic weights, and Crash Shield status.

## Facts

- Endpoint: GET https://gblin.digital/api/x402/treasury-state
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gblin-digital-11771e8b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GS-lkZkUuDKpOT0hxYpxO

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-digital-11771e8b
```

Example prompt: What's the current GBLIN protocol treasury state — specifically the NAV in USD, the basket composition with its dynamic weights, and whether the Crash Shield is active right now?

## When to prefer this

Use this endpoint when you need a real-time snapshot of the GBLIN protocol's treasury state, including NAV, basket composition, and Crash Shield status, without executing any transaction. Prefer this over swap-preview or wallet-health endpoints when you only need protocol-level state for monitoring, decision-making, or display purposes.

## Known failure modes

- Protocol state unavailable due to on-chain data lag — may return 503 or stale data
- Payment failure via x402 — 402 Payment Required if USDC payment not provided
- Malformed request — 400 if query parameters are invalid
- Service downtime — 500 if gblin.digital infrastructure is unavailable

## How this service works

Real-time GBLIN protocol state: NAV in USD, basket composition with dynamic weights, and Crash Shield status.

## Output

Returns the current GBLIN protocol treasury state: the net asset value (NAV) in USD, the full basket composition with dynamic asset weights, and the current Crash Shield status (active or inactive).

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 }
}
```

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "meta": {
   "chain": "base",
   "chain_id": 8453,
   "contract": "0x36C81d7E1966310F305eA637e761Cf77F90852f0",
   "as_of_unix": 1747600000
  },
  "basket": [
   {
    "token": "0x4200000000000000000000000000000000000006",
    "slashed": false,
    "is_stable": false,
    "pool_fee_bps": 500,
    "base_weight_pct": 50,
    "dynamic_weight_pct": 50
   }
  ],
  "nav_usd": 1.234567,
  "eth_price_usd": 3450.12,
  "slippage_reason": "normal",
  "crash_shield_active": false,
  "slippage_buffer_pct": 2.5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gblin-digital-11771e8b/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)
