{"uid":"cap_9Xz0iDUZZQB98BRiX_nKn","slug":"mining-operating-cash-contribution-rolling-mean-report-ac435b54","name":"Mining Operating Cash Contribution — Rolling Mean Report","description":"Mining operating cash contribution — Rolling mean report: Rolling mean report for Mining operating cash contribution. 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 rolling mean report report.","url":"https://market.datapackvibe.com/x402/assistant-bx-mining-cash-margin-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["revenue_usd","electricity_usd","maintenance_usd","other_usd"],"properties":{"other_usd":{"type":"number","default":5,"maximum":10000000000000000,"minimum":0},"revenue_usd":{"type":"number","default":100,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"electricity_usd":{"type":"number","default":60,"maximum":10000000000000000,"minimum":0},"maintenance_usd":{"type":"number","default":10,"maximum":10000000000000000,"minimum":0}},"additionalProperties":false},"default":[{"other_usd":5,"revenue_usd":100,"electricity_usd":60,"maintenance_usd":10},{"other_usd":5.5,"revenue_usd":110.00000000000001,"electricity_usd":66,"maintenance_usd":11},{"other_usd":5,"revenue_usd":100,"electricity_usd":60,"maintenance_usd":10},{"other_usd":5.5,"revenue_usd":110.00000000000001,"electricity_usd":66,"maintenance_usd":11}],"maxItems":200,"minItems":2},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aA_hS-cziFM2AA7WEx4WK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a rolling mean of mining operating cash contribution (revenue minus electricity, maintenance, and other costs) over a sliding window across a series of time-period rows.","exampleAgentPrompt":"Compute the rolling mean of mining operating cash contribution for these 4 periods — revenue $100, $110, $100, $110; electricity $60, $66, $60, $66; maintenance $10, $11, $10, $11; other costs $5, $5.50, $5, $5.50 — using a window of 2.","exampleUseCases":[{"title":"Smoothing volatile mining margins","prompt":"I have 6 months of mining data with revenue and costs per month — can you calculate the 3-period rolling mean of my operating cash contribution so I can see the smoothed profitability trend? Revenue ranged from $80 to $130k, electricity $50–$80k, maintenance $8–$12k, other costs around $5k each month."},{"title":"Comparing profitability windows","prompt":"Run a rolling mean report on my mining operation's cash contribution using a window of 4 for these 8 periods — revenues are $200, $210, $190, $220, $230, $205, $215, $225; electricity is $120, $125, $115, $130, $140, $122, $128, $135; maintenance is $20 each period; other costs are $8 each period."},{"title":"Monitoring steady-state mining returns","prompt":"Can you calculate the rolling 2-period mean of my mining cash contribution for these two snapshots — period 1: revenue $500, electricity $300, maintenance $50, other $25; period 2: revenue $520, electricity $310, maintenance $52, other $26 — so I can see if my net contribution is stable?"}],"resultDescription":"Returns a rolling mean report of the mining operating cash contribution (revenue minus electricity, maintenance, and other costs) across the submitted periods, smoothed over the specified window size. The response includes the formula basis, units, and bounded rolling mean values for each valid window position. No live prices or guaranteed returns are included.","failureModes":["Fewer than 2 rows submitted (minItems:2 violation)","More than 200 rows submitted (maxItems:200 violation)","Window size larger than number of rows (invalid window)","revenue_usd set to zero or negative (exclusiveMinimum:0 violation)","Non-numeric cost values passed in rows","Missing required fields (revenue_usd, electricity_usd, maintenance_usd, other_usd) in any row"],"whenToPreferThis":"Choose this endpoint when you need a smoothed, rolling mean view of mining operating cash contribution across multiple time periods using your own cost/revenue assumptions. It is purpose-built for mining economics (electricity, maintenance, other costs subtracted from revenue) and returns a bounded rolling mean rather than a single-period snapshot. Prefer it over generic financial rolling mean tools when you want mining-specific formula disclosure and preset assumptions within a shared multi-profile engine.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:52:23.940Z","isFirstParty":false,"canonicalSlug":"mining-operating-cash-contribution-rolling-mean-report-ac435b54"}