Account List(USER_DATA)
API Description
Query Account List
HTTP Request
GET /sapi/v1/mining/statistics/user/list
Request Weight(IP)
5
Request Parameters
Name | Type | Mandatory | Description | For Example |
---|---|---|---|---|
algo | STRING | YES | Algorithm(sha256) | sha256 |
userName | STRING | YES | Mining account | test |
recvWindow | LONG | NO | ||
timestamp | LONG | YES |
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"
}
]
}
]
}