How do I make mining stats API calls?
I am unclear how to make mining stats API calls for mining pools that use this software. Is there any documentation available?
Specifically, the software mentions:
Live stats API (using AJAX long polling with CORS) Currency network/block difficulty Current block height Network hashrate Pool hashrate Each miners' individual stats (hashrate, shares submitted, pending balance, total paid, etc) Blocks found (pending, confirmed, and orphaned)
I think there is no documentation available, but here are the endpoints for your request as example on moneropool.com https://api.moneropool.com/live_stats Which includes network stats (Not sure where the network hashrate is in there), pool hashrate, last blocks, last payments and some more information
https://api.moneropool.com/stats_address?address=
&longpoll=true Which includes{ "stats":{ "hashes":"", "lastShare":"", "balance":"", "paid":"", "hashrate":"" }, "payments":[] }
That should have everything you need. Hope I could help a little
Hi speedmann, This endpoint does not work. Any suggestions?