# Rejected Share Fraction — Single Calculation

> Rejected Share Fraction — Single Calculation 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-15).

Calculates the rejected share fraction (ratio of rejected to total shares) for a given set of mining parameters in a single bounded computation.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-rejected-share-calculate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rejected-share-fraction-single-calculation-70e033ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zPAKwzY5ES-7QjkA7ACMw

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 rejected-share-fraction-single-calculation-70e033ea -d '<json body>'
```

Example prompt: Calculate the rejected share fraction for my mining setup — I submitted 1000 total shares and 20 were rejected.

## When to prefer this

Choose this endpoint when you need a single, quick, deterministic calculation of rejected share fraction from raw mining share counts. It is ideal for spot-checking pool efficiency, populating a report field, or diagnosing a miner without needing batch processing, historical data, or live price feeds. Prefer this over batch endpoints when only one data point is needed.

## Known failure modes

- total_shares set to 0 or missing (exclusiveMinimum violation) causing validation error
- rejected_shares exceeds total_shares leading to a fraction greater than 1 (logically inconsistent input)
- values object missing required fields (total_shares or rejected_shares) causing schema rejection
- inputs exceeding maximum bound (1e16) causing rejection
- payment failure (insufficient USDC balance for $0.01 fee)

## How this service works

Rejected share fraction — Single calculation: Single calculation for Rejected share fraction. Supplied mining assumptions only; formula and units disclosed. No live prices, mining or guaranteed return. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded single calculation report.

## Output

A single calculation report containing the rejected share fraction (rejected shares divided by total shares), along with the formula and units used. No live prices or guaranteed return data are included — purely a bounded mathematical result derived from the supplied mining assumptions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "object",
   "default": {
    "total_shares": 1000,
    "rejected_shares": 20
   },
   "required": [
    "rejected_shares",
    "total_shares"
   ],
   "properties": {
    "total_shares": {
     "type": "number",
     "default": 1000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "rejected_shares": {
     "type": "number",
     "default": 20,
     "maximum": 10000000000000000,
     "minimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rejected-share-fraction-single-calculation-70e033ea/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)
