# Mining Revenue Waterfall: Sequential Input-Change Attribution (Hashprice)

> Mining Revenue Waterfall: Sequential Input-Change Attribution (Hashprice) 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 a sequential waterfall attribution of mining revenue changes when hashrate (TH/s) and hashprice (USD/PH/day) inputs are varied between a before and after scenario.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-hashprice-revenue-waterfall?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-revenue-waterfall-sequential-input-change-attribution-hashprice-772e574b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2QhhHGDBPJhfWBorSuVro

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-revenue-waterfall-sequential-input-change-attribution-hashprice-772e574b -d '<json body>'
```

Example prompt: Can you run a sequential waterfall attribution on my mining revenue? My setup went from 200 TH/s at $40 per PH/day to 220 TH/s at $44 per PH/day — I want to see how much of the revenue change came from the hashrate increase versus the hashprice increase.

## When to prefer this

Choose this endpoint when you need to understand how much of a mining revenue change is attributable to hashrate versus hashprice movements in a sequential, waterfall-style decomposition. It is ideal for mining operators, analysts, or modelers who supply their own assumptions and want a clean, formula-disclosed attribution rather than live market data. Prefer this over generic mining calculators when the goal is comparative scenario analysis with explicit input-change attribution.

## Known failure modes

- Missing required fields (ths or usd_per_ph_day) in before or after objects returns a validation error
- Zero or negative values for ths or usd_per_ph_day are rejected (exclusiveMinimum: 0)
- Extremely large values may hit the maximum boundary but are technically allowed up to 1e16
- Payment not included or insufficient USDC will result in a 402 Payment Required response
- Identical before and after inputs will produce a zero-delta attribution report

## How this service works

Mining revenue from supplied hashprice — Sequential input-change attribution: Sequential input-change attribution for Mining revenue from supplied hashprice. 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 sequential input-change attribution report.

## Output

A bounded sequential input-change attribution report that decomposes the total mining revenue difference between the 'before' and 'after' scenarios into contributions from each input (hashrate and hashprice), applied in sequence. The report uses the supplied mining assumptions with disclosed formulas and units, with no live prices or guaranteed returns.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "ths": 220.00000000000003,
    "usd_per_ph_day": 44
   },
   "required": [
    "ths",
    "usd_per_ph_day"
   ],
   "properties": {
    "ths": {
     "type": "number",
     "default": 200,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "usd_per_ph_day": {
     "type": "number",
     "default": 40,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  },
  "before": {
   "type": "object",
   "default": {
    "ths": 200,
    "usd_per_ph_day": 40
   },
   "required": [
    "ths",
    "usd_per_ph_day"
   ],
   "properties": {
    "ths": {
     "type": "number",
     "default": 200,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "usd_per_ph_day": {
     "type": "number",
     "default": 40,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-revenue-waterfall-sequential-input-change-attribution-hashprice-772e574b/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)
