Compute a provider's share of Filecoin quality-adjusted power

A storage dashboard can report raw bytes and quality-adjusted power for the same provider. A meaningful percentage requires a denominator using the same measure.

Pair the matching fields

Request the miner's power and network totals in one response. Divide MinerPower.QualityAdjPower by TotalPower.QualityAdjPower using integer or decimal arithmetic. Keep the strings intact until conversion.

{"jsonrpc":"2.0","id":1,"method":"Filecoin.StateMinerPower","params":["f01234",[]]}

Explain a difference between charts

A provider with 2 units of quality-adjusted power out of 100 has a 2 percent share of that measure. Its share of raw byte power can differ. Handle a zero denominator as unavailable and show HasMinPower separately. A share is an observation of chain state, not a prediction of a particular block win.

docs.filecoin.io StateMinerPower