Skip to main content

Account List(USER_DATA)

API Description#

Query Account List

HTTP Request#

GET /sapi/v1/mining/statistics/user/list

Request Weight(IP)#

5

Request Parameters#

NameTypeMandatoryDescriptionFor Example
algoSTRINGYESAlgorithm(sha256)sha256
userNameSTRINGYESMining accounttest
recvWindowLONGNO
timestampLONGYES

Response Example#

{  "code": 0,  "msg": "",  "data": [    {      "type": "H_hashrate",        //Type of hourly hashrate      "userName": "test",         // Mining account      "list": [        {          "time": 1585267200000,    // Time          "hashrate": "0.00000000", // Hashrate          "reject": "0.00000000"    //Rejection Rate        },        {          "time": 1585353600000,          "hashrate": "0.00000000",          "reject": "0.00000000"        }      ]    },    {      "type": "D_hashrate",        //Type of daily hashrate      "userName": "test",          // Mining account      "list": [        {          "time": 1587906000000,     // Time          "hashrate": "0.00000000", // Hashrate          "reject": "0.00000000"    //Rejection Rate        },        {          "time": 1587909600000,          "hashrate": "0.00000000",          "reject": "0.00000000"        }      ]    }  ]}