Skip to main content

how How to get network hash rate of ethereum blockchain via geth console or web3

iI want to know about how can i get ethereum blockchain network hash rate via geth console or web3  . 
Like the result of this api  - https://www.etherchain.org/api/miningEstimator

{"blocktime":"14.4444282592862345","difficulty":"1846255676466184.9397","hashrate":"137494795284766.6526554599708515"}

{
 "blocktime":"14.4444282592862345",
 "difficulty":"1846255676466184.9397",
 "hashrate":"137494795284766.6526554599708515"
}

how to get network hash rate of ethereum blockchain via geth console or web3

i want to know about how can i get ethereum blockchain network hash rate via geth console or web3  . Like the result of this api- https://www.etherchain.org/api/miningEstimator

{"blocktime":"14.4444282592862345","difficulty":"1846255676466184.9397","hashrate":"137494795284766.6526554599708515"}

How to get network hash rate of ethereum blockchain via geth console or web3

I want to know about how can i get ethereum blockchain network hash rate via geth console or web3. 
Like the result of this api  - https://www.etherchain.org/api/miningEstimator

{
 "blocktime":"14.4444282592862345",
 "difficulty":"1846255676466184.9397",
 "hashrate":"137494795284766.6526554599708515"
}
Source Link

how to get network hash rate of ethereum blockchain via geth console or web3

i want to know about how can i get ethereum blockchain network hash rate via geth console or web3 . Like the result of this api- https://www.etherchain.org/api/miningEstimator

{"blocktime":"14.4444282592862345","difficulty":"1846255676466184.9397","hashrate":"137494795284766.6526554599708515"}