Skip to main content

Statistic List(USER_DATA)

API Description#

Statistic List

HTTP Request#

GET /sapi/v1/mining/statistics/user/status

Request Weight(IP)#

5

Request Parameters#

NameTypeMandatoryDescriptionFor Example
algoSTRINGYESAlgorithm(sha256)sha256
userNameSTRINGYESMining accounttest
recvWindowLONGNO
timestampLONGYES

Response Example#

{  "code": 0,  "msg": "",  "data": {    "fifteenMinHashRate": "457835490067496409.00000000",          // 15 mins hashrate    "dayHashRate": "214289268068874127.65000000",                 //  24H Hashrate    "validNum": 0,                                                // Effective quantity    "invalidNum": 17562,                                          // Invalid quantity    "profitToday":{                                              // Today's estimate      "BTC":"0.00314332",             "BSV":"56.17055953",      "BCH":"106.61586001"     },    "profitYesterday":{                                       //  Yesterday's earnings      "BTC":"0.00314332",       "BSV":"56.17055953",       "BCH":"106.61586001"     },
    "userName": "test",                                    // Mining account    "unit": "h/s",                                        //  Hashrate unit    "algo": "sha256"                                      // Algorithm  }}