Bitcoin Forum
July 19, 2024, 07:16:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to get the most updated information about etherum network.  (Read 270 times)
Etherion (OP)
Sr. Member
****
Offline Offline

Activity: 512
Merit: 260



View Profile
August 17, 2017, 01:08:19 PM
 #1

Where can I find an API to calculate the price of mining etherum per day. Price = BTC/GH/DAY

Network Difficulty I can find everywhere so that is not a problem but BlockReward sees to be confusing. I always thought it was 5 ETH per block. But looking on https://etherscan.io/chart/ethersupply seems to be somehting else. 

My fomula is:

HT  = Difficulty * (Math.Pow(2.0, 32) / (1000000000000.0));
CPD = BlockReward * 24.0 * 3600.0 / HT;
Price = CPD * ExchangeRate;
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!