[Ethereum] How to get eth network hash rate from Etherscan API

etherscan

I have looked through all of the docs (https://etherscan.io/apis) and couldn't find how to get this from their APIs, yet they display this number in multiple places on their site. Was hoping for some guidance.

Best Answer

You can use the following EtherChain API:

https://etherchain.org/api/basic_stats

Under the stats section:

   ...
   "stats": {
        "blockTime": 15.4004,
        "difficulty": 1458229412239493.5,
        "hashRate": 109976005162231.83,
        "uncle_rate": 0.3029
    }
}
Related Topic