Skip to main content

Request for Miner List(USER_DATA)

API Description

Request for Miner List

HTTP Request

GET /sapi/v1/mining/worker/list

Request Weight(IP)

5

Request Parameters

NameTypeMandatoryDescriptionFor Example
algoSTRINGYESAlgorithm(sha256)sha256
userNameSTRINGYESMining accounttest
pageIndexINTEGERNOPage number,default is first page,start form 1
sortINTEGERNOsort sequence(default=0)0 positive sequence,1 negative sequence
sortColumnINTEGERNOSort by( default 1):

1: miner name,

2: real-time computing power,

3: daily average computing power,

4: real-time rejection rate,

5: last submission time
workerStatusINTEGERNOminers status(default=0),0 all,1 valid,2 invalid,3 failure
recvWindowLONGNO
timestampLONGYES

Response Example

{
"code": 0,
"msg": "",
"data": {
"workerDatas": [
{
"workerId": "1420554439452400131", //Miner ID
"workerName": "2X73", //Miner's name
"status": 3, // Status:1 valid, 2 invalid, 3 no longer valid
"hashRate": 0, // Real-time rate
"dayHashRate": 0, //24H Hashrate
"rejectRate": 0, //Real-time Rejection Rate
"lastShareTime": 1587712919000 // Last submission time
},
{
"workerId": "7893926126382807951",
"workerName": "AZDC1.1A10101",
"status": 2,
"hashRate": 29711247541680,
"dayHashRate": 12697781298013.66,
"rejectRate": 0,
"lastShareTime": 1587969727000
}
],
"totalNum": 18530, // Total amount
"pageSize": 20 // Rows per page
}
}