# Mining Difficulty Relative Change — Weighted Result Mean

> Mining Difficulty Relative Change — Weighted Result Mean 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).

Computes the weighted mean of relative mining difficulty changes across multiple difficulty transitions using user-supplied row data and weights.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-difficulty-change-weighted-mean?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/mining-difficulty-relative-change-weighted-result-mean-16c81b03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZaV5_mnFkEGeMJ1m_uTyg

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 mining-difficulty-relative-change-weighted-result-mean-16c81b03 -d '<json body>'
```

Example prompt: I have four mining difficulty transitions — old 100 to new 110, old 110 to new 121, old 100 to new 110, old 110 to new 121 — with weights 1, 2, 1, 2. Can you compute the weighted mean of the relative difficulty changes across those observations?

## When to prefer this

Choose this endpoint when you need a statistically weighted aggregation of multiple relative mining difficulty changes in a single call, rather than computing individual percentage changes or simple averages. It is ideal for summarizing difficulty adjustment trends across multiple epochs or pools where observations have unequal importance (e.g. weighted by block count, hash rate share, or recency).

## Known failure modes

- Fewer than 2 rows supplied — minimum 2 rows required
- More than 200 rows supplied — maximum 200 rows allowed
- Weights array length does not match rows array length
- Zero or negative difficulty values provided — both new_difficulty and old_difficulty must be strictly positive
- Malformed input schema — missing required fields new_difficulty or old_difficulty in any row

## How this service works

Mining difficulty relative change — Weighted result mean: Weighted result mean for Mining difficulty relative change. 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 weighted result mean report.

## Output

Returns a single bounded weighted result mean value summarizing the relative mining difficulty changes across the supplied rows, computed using the provided weights. The report uses only the supplied mining assumptions with disclosed formula and units; no live prices, active mining data, or return guarantees are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "new_difficulty",
     "old_difficulty"
    ],
    "properties": {
     "new_difficulty": {
      "type": "number",
      "default": 110,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "old_difficulty": {
      "type": "number",
      "default": 100,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "new_difficulty": 110,
     "old_difficulty": 100
    },
    {
     "new_difficulty": 121.00000000000001,
     "old_difficulty": 110.00000000000001
    },
    {
     "new_difficulty": 110,
     "old_difficulty": 100
    },
    {
     "new_difficulty": 121.00000000000001,
     "old_difficulty": 110.00000000000001
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "weights": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": 0
   },
   "default": [
    1,
    2,
    1,
    2
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-difficulty-relative-change-weighted-result-mean-16c81b03/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)
