Author

Topic: JSON API for total network hashrate? (Read 2220 times)

hero member
Activity: 531
Merit: 505
May 24, 2011, 10:29:06 AM
#4
I found it (when assuming 1-day average):

Code:
$interval = file_get_contents("http://blockexplorer.com/q/interval/144");
$winning  = file_get_contents("http://blockexplorer.com/q/hashestowin");
print $winning/$interval;

hero member
Activity: 531
Merit: 505
May 24, 2011, 05:55:01 AM
#3
How to get total network hashrate from these?
member
Activity: 84
Merit: 10
May 24, 2011, 05:21:55 AM
#2
Not JSON, but easily usable.... http://blockexplorer.com/q
hero member
Activity: 531
Merit: 505
May 24, 2011, 05:08:24 AM
#1
Is there an JSON web API somewhere I can get current total network hashrate (like it is shown on bitcoinwatch.com or bitcoincharts.com)?

Optionally, also with the current blockspeed and block number?

Jump to: