Skip to main content

Mining Account Earning(USER_DATA)

API Description

Mining Account Earning

HTTP Request

GET /sapi/v1/mining/payment/uid

Request Weight(IP)

5

Request Parameters

NameTypeMandatoryDescriptionFor Example
algoSTRINGYESAlgorithm(sha256)sha256
startDateLongNOMillisecond timestamp
endDateLongNOMillisecond timestamp
pageIndexINTEGERNODefault 1
pageSizeINTEGERNOMin 10,Max 200
recvWindowLONGNO
timestampLONGYES

Response Example

{
"code": 0,
"msg": "",
"data": {
"accountProfits": [
{
"time": 1607443200000,
"coinName": "BTC", // Coin
"type": 2, // 0:Referral 1:Refund 2:Rebate
"puid": 59985472, //Sub-account id
"subName": "vdvaghani", //Mining account
"amount": 0.09186957 //Amount
}
],
"totalNum": 3, // Total records
"pageSize": 20 // Size of one page
}
}