{"uid":"cap_4UOwIM6sEBbScnX6RjKQv","slug":"mining-contribution-per-energy-unit-weighted-mean-calculator-2a6269bf","name":"Mining Contribution per Energy Unit — Weighted Mean Calculator","description":"Mining contribution per energy unit — Weighted result mean: Weighted result mean for Mining contribution per energy unit. 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-profit-per-kwh-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["contribution_usd","energy_kwh"],"properties":{"energy_kwh":{"type":"number","default":500,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"contribution_usd":{"type":"number","default":25,"maximum":10000000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"energy_kwh":500,"contribution_usd":25},{"energy_kwh":550,"contribution_usd":27.500000000000004},{"energy_kwh":500,"contribution_usd":25},{"energy_kwh":550,"contribution_usd":27.500000000000004}],"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_Rwt1wq2aN5zlyWyqsliZJ","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 weighted result mean of mining contribution (USD) per unit of energy (kWh) across multiple data rows using caller-supplied weights.","exampleAgentPrompt":"I have four mining rigs — rig A used 500 kWh and contributed $25, rig B used 550 kWh and contributed $27.50, rig C used 500 kWh and contributed $25, and rig D used 550 kWh and contributed $27.50. Apply weights of 1, 2, 1, 2 respectively and give me the weighted mean mining contribution per kWh.","exampleUseCases":[{"title":"Compare mining efficiency across rigs","prompt":"I have three mining setups: the first used 400 kWh and earned $18, the second used 600 kWh and earned $30, and the third used 800 kWh and earned $44. Weight them 1, 2, and 3 by their reliability scores and calculate the weighted average mining contribution per kWh."},{"title":"Evaluate energy cost impact on mining yield","prompt":"Across five of my mining locations, the energy consumption and USD contributions are: 300 kWh/$12, 450 kWh/$20, 500 kWh/$25, 700 kWh/$35, and 1000 kWh/$48. Give all equal weights and tell me the weighted mean profit per kWh."},{"title":"Aggregate mining profitability for investor report","prompt":"For my quarterly report I need a weighted mean of mining contribution per kWh for six operations with these figures: 200 kWh/$8 (weight 2), 350 kWh/$15 (weight 3), 500 kWh/$22 (weight 1), 600 kWh/$28 (weight 4), 750 kWh/$33 (weight 2), and 900 kWh/$41 (weight 3) — can you calculate that?"}],"resultDescription":"A bounded weighted mean report showing the aggregated mining contribution per kWh, calculated from the supplied rows of (contribution_usd, energy_kwh) pairs and their corresponding weights. The result is a single weighted-mean value using the caller-supplied formula and units, with no live pricing or guaranteed return figures included.","failureModes":["Fewer than 2 rows provided — minItems constraint violation","Weights array length does not match rows array length","energy_kwh value is zero or negative — exclusiveMinimum constraint violation","contribution_usd or energy_kwh values exceed maximum bounds","Payment of 0.01 USDC not fulfilled — 402 Payment Required response","More than 200 rows supplied — maxItems constraint violation"],"whenToPreferThis":"Choose this endpoint when you need a statistically weighted aggregation of mining efficiency (USD per kWh) across multiple mining rigs or time periods, with control over how much each data point influences the result. It is ideal for scenarios where different operations have different reliability, size, or importance and you want a single composite efficiency figure. Prefer alternatives if you need live market prices, real-time hashrate data, or unweighted simple averages.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:47:33.904Z","isFirstParty":false,"canonicalSlug":"mining-contribution-per-energy-unit-weighted-mean-calculator-2a6269bf"}