# Token Treasury Share Target Gap Calculator

> Token Treasury Share Target Gap 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 gap between a token project's current treasury share percentage and a specified target value using supplied token supply figures.

## Facts

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

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-target-gap-calculator-6ad34460 -d '<json body>'
```

Example prompt: Calculate the target gap for my token treasury share — I have 200,000 treasury tokens out of 2,000,000 total tokens, and my target is 15.

## When to prefer this

Use this endpoint when you need a fast, deterministic calculation of how a token project's current treasury share compares to a desired target percentage. It is ideal for tokenomics audits, compliance checks, or investor reporting where you supply your own token figures and need a structured gap report without any live scanning, market data, or advisory output.

## Known failure modes

- total_tokens is zero or missing — division by zero or validation error
- treasury_tokens exceeds total_tokens — logically invalid input may be rejected or produce a negative gap
- target value out of expected range — values beyond ±1e18 will be rejected
- malformed input schema — missing required fields returns an error
- network or payment failure — x402 payment not processed, request not fulfilled

## How this service works

Reported token treasury share — Target gap calculation: Target gap 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 target gap calculation report.

## Output

A deterministic report containing the calculated treasury share percentage (treasury_tokens / total_tokens), the specified target value, and the gap between the two — along with a verdict indicating whether the current share is above, below, or at the target. No live market data or trade recommendations are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "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-target-gap-calculator-6ad34460/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)
