{"uid":"cap_O5c409ZPiaOxec8nSorrn","slug":"mining-electricity-charge-weighted-mean-4a984b36","name":"Mining Electricity Charge Weighted Mean","description":"Mining electricity charge — Weighted result mean: Weighted result mean for Mining electricity charge. 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.","url":"https://market.datapackvibe.com/x402/assistant-bx-mining-energy-bill-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["energy_kwh","usd_per_kwh"],"properties":{"energy_kwh":{"type":"number","default":720,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"usd_per_kwh":{"type":"number","default":0.05,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"default":[{"energy_kwh":720,"usd_per_kwh":0.05},{"energy_kwh":792.0000000000001,"usd_per_kwh":0.05500000000000001},{"energy_kwh":720,"usd_per_kwh":0.05},{"energy_kwh":792.0000000000001,"usd_per_kwh":0.05500000000000001}],"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}}},"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_2a0oY1qCHnZSISKYrsKFm","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":"Calculates a weighted mean of mining electricity charges across up to 200 energy/rate data points using supplied weights","exampleAgentPrompt":"Can you calculate the weighted mean mining electricity charge for these four periods: 720 kWh at $0.05/kWh, 792 kWh at $0.055/kWh, 720 kWh at $0.05/kWh, and 792 kWh at $0.055/kWh, with weights of 1, 2, 1, 2 respectively?","exampleUseCases":[{"title":"Multi-site mining cost averaging","prompt":"I have three mining sites with different energy usage and rates — site A used 1000 kWh at $0.04/kWh, site B used 2000 kWh at $0.06/kWh, site C used 500 kWh at $0.07/kWh — can you give me a weighted mean electricity charge using weights of 1, 3, and 1?"},{"title":"Monthly mining electricity trend report","prompt":"I want a weighted mean of my monthly mining electricity bills: January was 800 kWh at $0.05/kWh, February was 900 kWh at $0.052/kWh, March was 850 kWh at $0.051/kWh — weight them by number of miners running: 10, 12, 11."},{"title":"Comparing rig energy efficiency across quarters","prompt":"Can you calculate the weighted mean electricity cost for my mining rigs across two quarters? Q1 was 5000 kWh at $0.045/kWh and Q2 was 6200 kWh at $0.048/kWh, with Q2 weighted twice as heavily as Q1."}],"resultDescription":"A bounded weighted mean report of mining electricity charges, expressed as a single weighted average value calculated from the supplied energy consumption (kWh) and electricity rate (USD/kWh) row pairs and their corresponding nonnegative weights. The formula and units used are disclosed in the response. No live prices or guaranteed returns are included.","failureModes":["Fewer than 2 rows or weights provided — minimum 2 items required","More than 200 rows submitted — exceeds maxItems limit","energy_kwh or usd_per_kwh set to zero or negative — exclusiveMinimum: 0 enforced","Mismatch between number of rows and weights arrays","Weight values exceeding maximum of 1,000,000,000,000 rejected","Payment of 0.01 USDC not completed — x402 payment required before response"],"whenToPreferThis":"Choose this endpoint when you need a weighted mean specifically for mining electricity charges across multiple energy consumption and rate observations, and you want a disclosed formula with bounded output. Prefer this over simple averaging when some time periods, rigs, or sites should contribute more to the mean than others. Ideal for mining operators who track electricity costs across heterogeneous periods or locations and need a single representative figure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:48:22.758Z","isFirstParty":false,"canonicalSlug":"mining-electricity-charge-weighted-mean-4a984b36"}