Now, the json is like that:
{
id: 168,
name: "Hush",
tag: "HUSH",
algorithm: "Equihash",
block_time: "150.0",
block_reward: 12.5,
block_reward24: 12.5,
last_block: 172874,
difficulty: 276856424.28628,
difficulty24: 355234931.858677,
nethash: "3691418.990483733333333333333333333",
exchange_rate: 0.00048704,
exchange_rate24: 0.00048067770212766,
exchange_rate_vol: 22.9608060013601,
exchange_rate_curr: "BTC",
market_cap: "$2,160,255",
pool_fee: "0.000000",
estimated_rewards: "1.322262",
btc_revenue: "0.000644",
revenue: "$2.59",
cost: "$0.86",
profit: "$1.73",
status: "Active",
lagging: false,
timestamp: 1505842430
}
We can pass a param "hr=1" for querying the revenue 1unit of hash power.
some coins are based on Mhs, while some are khs. I hope the json can include the unit of hash so that we can know the revenue is calculated on what unit of hashrate.
Second thing is, I want to do some more deep calculation on each coin's profitability in each pool.
I know the formula is something like
[hashrate] x [rewards] x 86400
-----------------------------------
[diff] x [hashes per diff]
all are the same for each coin, but the hashes per diff is different for each coin.
for example:
most of coins are 2^32
ETH, ETC and XMR are 2^0.
ZEC, ZCL are 2^13.
HUSH is 2^1.
KMD is 2^4.
So it would be kind if you can return the hashes per diff for us for further calculation. I try to search the list in google, but no luck.
Anyway, thanks for your service.