# Reported Token Treasury Share — Rolling Mean Report

> Reported Token Treasury Share — Rolling Mean Report is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Computes a rolling mean of reported token treasury share (treasury_tokens / total_tokens) over a sliding window across a supplied time series of token observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-treasury-share-rolling?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/reported-token-treasury-share-rolling-mean-report-68d93992
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JmKIs6Pij7L4k2hWbClhE

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 reported-token-treasury-share-rolling-mean-report-68d93992 -d '<json body>'
```

Example prompt: Can you calculate the rolling mean of treasury token share for these 4 observations — total tokens were 2,000,000 / 2,200,000 / 2,000,000 / 2,200,000 and treasury tokens were 200,000 / 220,000 / 200,000 / 220,000 — using a window size of 2?

## When to prefer this

Choose this endpoint when you have a series of token supply and treasury observations and need a smoothed, deterministic rolling mean of treasury share rather than a single-point ratio. It is well-suited for tokenomics dashboards, governance reporting, or trend analysis where short-term noise should be averaged out over a configurable window. Prefer it over raw ratio calculations when you need the windowed aggregation computed server-side in a single call.

## Known failure modes

- Fewer than 2 rows supplied — minimum row count not met
- Window size larger than number of rows — rolling calculation cannot proceed
- total_tokens value of 0 — division by zero risk (excluded via exclusiveMinimum)
- treasury_tokens exceeds total_tokens — logically invalid ratio input
- More than 200 rows supplied — exceeds maxItems limit
- Non-numeric values in treasury_tokens or total_tokens fields
- Payment failure or insufficient USDC balance for the $0.01 per-call fee

## How this service works

Reported token treasury share — Rolling mean report: Rolling mean report for Reported token treasury share. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded rolling mean report report.

## Output

Returns a rolling mean report series where each data point represents the smoothed average of token treasury share (treasury_tokens / total_tokens) over the specified window. The result is a deterministic, bounded calculation based solely on the supplied observation rows — not a live scan or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "treasury_tokens",
     "total_tokens"
    ],
    "properties": {
     "total_tokens": {
      "type": "number",
      "default": 2000000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "treasury_tokens": {
      "type": "number",
      "default": 200000,
      "maximum": 10000000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "total_tokens": 2000000,
     "treasury_tokens": 200000
    },
    {
     "total_tokens": 2200000,
     "treasury_tokens": 220000.00000000003
    },
    {
     "total_tokens": 2000000,
     "treasury_tokens": 200000
    },
    {
     "total_tokens": 2200000,
     "treasury_tokens": 220000.00000000003
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/reported-token-treasury-share-rolling-mean-report-68d93992/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
