how do mining pools expose their stats?

1

Webistes like https://miningpoolstats.stream/ must communicate with the pools somehow. What protocol do they use to retrieve information such as the pool's hashrate and what blocks have been mined by that pool? If I make my own pool what is the necessary API to expose this information?

Brannon

Posted 2019-10-16T18:45:44.380

Reputation: 155

1

Possible duplicate of How do we know which miner or pool mined a block?

Raghav Sood 2019-10-16T19:04:00.073

I don't think it's a duplicate. This question asks how they get API data from pools, not which miner or pool solved a block.Jose Fonseca 2019-10-16T20:11:21.220

Answers

1

Mining pools export this functionality via API's.

For example, poolin's API docs are here: https://btc.com/api-doc

Here's F2Pool's : https://www.f2pool.com/developer/api

And so forth.

The way aggregators add value is by compiling all this data from different pools into a neat user interface.

Jose Fonseca

Posted 2019-10-16T18:45:44.380

Reputation: 541