# Token Treasury Share Calculator

> Token Treasury Share Calculator 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).

Calculates the treasury share percentage of a token's total supply given treasury token count and total token count

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-treasury-share-calculate?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/token-treasury-share-calculator-fb752ed5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qubgKDCtVpeHQhfX5A0gO

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 token-treasury-share-calculator-fb752ed5 -d '<json body>'
```

Example prompt: What percentage of the token supply is held in treasury if there are 200,000 treasury tokens out of a total supply of 2,000,000 tokens?

## When to prefer this

Use this endpoint when you need a fast, deterministic, single-call computation of a token's treasury share given explicit supply figures. Prefer this over manual calculation or general-purpose math tools when working within a crypto/tokenomics agent workflow that handles micropayment-gated API calls. This is not appropriate for live market scanning, safety analysis, or trade recommendations.

## Known failure modes

- total_tokens is zero or missing, causing division-by-zero or validation error
- treasury_tokens exceeds total_tokens, resulting in a ratio greater than 100% which may be flagged as invalid
- values outside the allowed numeric range (0 to 1e16) will be rejected
- malformed request body or missing required fields returns an error
- service unavailable or payment processing failure returns a non-200 status

## How this service works

Reported token treasury share — Single calculation: Single calculation 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 single calculation report.

## Output

A deterministic numeric result representing the treasury token share as a proportion or percentage of total token supply, based solely on the supplied treasury_tokens and total_tokens values. The response includes a single bounded calculation report with no live market data or trade recommendations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "object",
   "default": {
    "total_tokens": 2000000,
    "treasury_tokens": 200000
   },
   "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-treasury-share-calculator-fb752ed5/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)
