# Reported Token Treasury Share — Weighted Result Mean

> Reported Token Treasury Share — Weighted Result Mean 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-13).

Computes the weighted mean of token treasury share ratios (treasury_tokens / total_tokens) across multiple observations using caller-supplied weights.

## Facts

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

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-weighted-result-mean-3e819d49 -d '<json body>'
```

Example prompt: I have four token snapshots — (2,000,000 total / 200,000 treasury), (2,200,000 / 220,000), (2,000,000 / 200,000), and (2,200,000 / 220,000) — with weights 1, 2, 1, 2. Can you compute the weighted mean treasury share across those observations?

## When to prefer this

Choose this endpoint when you need a deterministic, weighted aggregate of token treasury share ratios across multiple time periods or observer sources and want a single mean statistic rather than a distribution or histogram. Prefer it over raw averaging when observations have unequal reliability or importance. Use the sibling 'distribution summary' or 'histogram' endpoints when you need spread statistics rather than a single mean.

## Known failure modes

- Fewer than 2 rows provided — minimum array length violation
- rows or weights arrays exceed 200 items — maxItems violation
- total_tokens value of 0 or below — exclusiveMinimum violation causes rejection
- weights array length does not match rows array length — mismatched inputs
- treasury_tokens exceeds total_tokens — logically inconsistent input (not necessarily caught by schema)
- Non-numeric values in rows or weights fields — type validation error
- Payment not included or insufficient — x402 payment required error

## How this service works

Reported token treasury share — Weighted result mean: Weighted result mean 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 weighted result mean report.

## Output

A single weighted mean value representing the average token treasury share (treasury_tokens / total_tokens ratio) across the supplied observations, calculated deterministically using the provided weights. The result is a bounded statistical summary, not a live scan or safety signal.

## 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
  },
  "weights": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": 0
   },
   "default": [
    1,
    2,
    1,
    2
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/reported-token-treasury-share-weighted-result-mean-3e819d49/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)
