Mining Calculator API
Description
This API is used to check and calculate theoretical earnings everyday.(Operator can do the multiplication to get the theoretical earnings for every week, every month and every year.)
URL
/operator/api/calculator.htm
Parameter
Parameter | Type | Description |
---|---|---|
opId | String | Operator ID |
coin | String | Coin type (BTC、LTC、ZEC、BCH、DASH、SC、ETH、ETC、XMC) |
params | String | Record will use API key for AES encryption,check "Interface Authorization" description for details |
sign | String | Signature, check "Interface Authorization" description for more details |
- record description:
Parameter | Type | Description |
---|---|---|
unit | String | hashrate unit:H,KH,MH,GH,TH,PH |
unitCount | Long | hashrate |
For example: calculate everyday income of 504 MH/s hashrate, so unit:MH
- Return
{ "code": "000000", "data": { "0.152317" }, "message": "ok" }