# Rejected Share Fraction — Target Gap Calculation

> Rejected Share Fraction — Target Gap 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-12).

Calculates the target gap metric for rejected share fraction in cryptocurrency mining, given total shares and rejected shares inputs against a defined target.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-rejected-share-target-gap?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/rejected-share-fraction-target-gap-calculation-8cbbbf61
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kQxVtpuYvoSIgL2w_PNz9

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-target-gap-calculation-8cbbbf61 -d '<json body>'
```

Example prompt: My mining pool submitted 1000 total shares with 20 rejected — can you calculate the target gap for the rejected share fraction against a target of 100?

## When to prefer this

Choose this endpoint when you need a quick, cheap ($0.01 USDC) point-in-time computation of how far your mining pool's rejected share fraction deviates from a defined target. It is ideal for lightweight automated monitoring pipelines or one-off performance checks where only share count data is available and no live price or profitability data is needed.

## Known failure modes

- total_shares of zero causes division-by-zero or validation error since exclusiveMinimum is 0
- rejected_shares exceeding total_shares may produce unexpected or out-of-range gap values
- target value outside expected range may return a bounded/capped result
- missing required fields (total_shares or rejected_shares) triggers a schema validation error
- payment failure (insufficient USDC) results in 402 response with no calculation performed

## How this service works

Rejected share fraction — Target gap calculation: Target gap 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 target gap calculation report.

## Output

A single bounded target gap calculation report showing the numerical gap between the computed rejected share fraction and the specified target value, based on the supplied total_shares and rejected_shares inputs. No live pricing, market data, or guaranteed return projections are included.

## Request schema (JSON Schema)

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