# Transaction Fees in Mining Reward — Weighted Result Mean

> Transaction Fees in Mining Reward — 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-12).

Computes a weighted arithmetic mean of the transaction-fee share in Bitcoin block rewards across up to 200 supplied mining data rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-fee-reward-share-weighted-mean?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/transaction-fees-in-mining-reward-weighted-result-mean-b96b5c9c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0_oQeP-WP6vs0CtS529vJ

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 transaction-fees-in-mining-reward-weighted-result-mean-b96b5c9c -d '<json body>'
```

Example prompt: Calculate the weighted mean of transaction fee share in mining rewards for these 4 blocks: fees of 0.125, 0.1375, 0.125, 0.1375 BTC and subsidies of 3.125, 3.4375, 3.125, 3.4375 BTC, using weights 1, 2, 1, 2.

## When to prefer this

Choose this endpoint when you need a statistically weighted summary of the transaction-fee fraction of Bitcoin mining block rewards across a batch of blocks, with configurable per-block weights to reflect varying importance or frequency. Prefer it over simple averages when blocks have different hash contributions, time periods, or pool sizes that should influence the aggregate result.

## Known failure modes

- Fewer than 2 rows or weights provided — minimum array length of 2 required
- Mismatched array lengths between rows and weights — arrays must be the same length
- subsidy_btc of 0 or negative — exclusiveMinimum enforced, will cause validation failure
- fee_btc or subsidy_btc values exceeding 1e16 — out of allowed range
- Non-numeric values in rows or weights arrays — schema validation error
- Payment not processed or insufficient USDC balance — x402 payment required

## How this service works

Transaction fees in mining reward — Weighted result mean: Weighted result mean for Transaction fees in mining reward. 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

A bounded weighted result mean report showing the weighted arithmetic mean of the transaction-fee-to-total-reward ratio across the supplied rows, computed using the provided weights array. The result is scoped to the supplied mining assumptions with formula and units disclosed; no live prices or guaranteed returns are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "fee_btc",
     "subsidy_btc"
    ],
    "properties": {
     "fee_btc": {
      "type": "number",
      "default": 0.125,
      "maximum": 10000000000000000,
      "minimum": 0
     },
     "subsidy_btc": {
      "type": "number",
      "default": 3.125,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "fee_btc": 0.125,
     "subsidy_btc": 3.125
    },
    {
     "fee_btc": 0.1375,
     "subsidy_btc": 3.4375000000000004
    },
    {
     "fee_btc": 0.125,
     "subsidy_btc": 3.125
    },
    {
     "fee_btc": 0.1375,
     "subsidy_btc": 3.4375000000000004
    }
   ],
   "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/transaction-fees-in-mining-reward-weighted-result-mean-b96b5c9c/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)
