# Token Supplied Rule-Flag Fraction Calculator

> Token Supplied Rule-Flag Fraction 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-12).

Calculates the fraction of evaluated token supply rules that have been flagged, returning a deterministic ratio from flagged_rules and evaluated_rules inputs.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-flag-share-calculate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-supplied-rule-flag-fraction-calculator-e1b86e99
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uJ2gzFfZGlWRiO0TScnl-

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-supplied-rule-flag-fraction-calculator-e1b86e99 -d '<json body>'
```

Example prompt: Can you calculate the rule-flag fraction for my token supply observations? I have 2 flagged rules out of 10 evaluated rules total — just give me the single calculation result.

## When to prefer this

Use this endpoint when you need a fast, deterministic, single-calculation ratio of flagged-to-evaluated token supply rules with no side effects. Prefer it over batch comparison endpoints (e.g. before/after comparison variants) when you have a single snapshot of rule observations and only need one ratio output. It is not a live scanner or safety oracle — choose it strictly for arithmetic fraction computation over rule-count inputs.

## Known failure modes

- evaluated_rules is 0 or missing (exclusiveMinimum violation) — returns validation error since division by zero is undefined
- flagged_rules or evaluated_rules exceed the maximum allowed value (10000000000000000) — request rejected
- Missing required fields in values object — 400-level validation error
- Non-numeric values passed for rule counts — schema validation failure

## How this service works

Token supplied rule-flag fraction — Single calculation: Single calculation for Token supplied rule-flag fraction. 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 bounded single calculation report containing the fraction (ratio) of flagged rules to total evaluated rules for the supplied token observation. The result is deterministic — given the same inputs, the same fraction is always returned. This is not a live scan, safety proof, or trading recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "object",
   "default": {
    "flagged_rules": 2,
    "evaluated_rules": 10
   },
   "required": [
    "flagged_rules",
    "evaluated_rules"
   ],
   "properties": {
    "flagged_rules": {
     "type": "number",
     "default": 2,
     "maximum": 10000000000000000,
     "minimum": 0
    },
    "evaluated_rules": {
     "type": "number",
     "default": 10,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-supplied-rule-flag-fraction-calculator-e1b86e99/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)
