Skip to main content

Request for Detail Miner List(USER_DATA)

API Description

Request for Detail Miner List

HTTP Request

GET /sapi/v1/mining/worker/detail

Request Weight(IP)

5

Request Parameters

NameTypeMandatoryDescriptionFor Example
algoSTRINGYESAlgorithm(sha256)sha256
userNameSTRINGYESMining accounttest
workerNameSTRINGYESMiner’s name(required)bhdc1.16A10404B
recvWindowLONGNO
timestampLONGYES

Response Example

{
"code": 0,
"msg": "",
"data": [
{
"workerName": "bhdc1.16A10404B", //Mining Account name
"type": "H_hashrate", // Type of hourly hashrate
"hashrateDatas": [
{
"time": 1587902400000, // Time
"hashrate": "0", // Hashrate
"reject": 0 //Rejection Rate
},
{
"time": 1587906000000,
"hashrate": "0",
"reject": 0
}
]
},
{
"workerName": "bhdc1.16A10404B", //Mining Account name
"type": "D_hashrate", //Type of daily hashrate
"hashrateDatas": [
{
"time": 1587902400000, // Time
"hashrate": "0", // Hashrate
"reject": 0 //Rejection Rate
},
{
"time": 1587906000000,
"hashrate": "0",
"reject": 0
}
]
}
]
}