Mining Account Earning(USER_DATA)
API Description
Mining Account Earning
HTTP Request
GET /sapi/v1/mining/payment/uid
Request Weight(IP)
5
Request Parameters
Name | Type | Mandatory | Description | For Example |
---|---|---|---|---|
algo | STRING | YES | Algorithm(sha256) | sha256 |
startDate | Long | NO | Millisecond timestamp | |
endDate | Long | NO | Millisecond timestamp | |
pageIndex | INTEGER | NO | Default 1 | |
pageSize | INTEGER | NO | Min 10,Max 200 | |
recvWindow | LONG | NO | ||
timestamp | LONG | YES |
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
}
}