Staking
Finance & Mining Pool - Participation record - Pledge currency query
POST https://service.xxx.com/platformapi/chainup/open/staking/findBaseCoinByGroup
Query participation record
Headers
Content-Type
String
application/json
{
"code": "0",
"msg": "suc",
"data": {
"uid": 2000000,//用户id
"inviteCode": "AAAAAA"//邀请码
}
}
Parameter description
None
Return value declaration
data
List
YES
[
"BTC",
"EUSDT"
]Collection of pledged currencies
Finance & Mining Pools - Participation records - Participation records inquiry
POST https://service.xxx.com/platformapi/chainup/open/staking/getApplyRecord
Query participation record
Headers
Content-Type
String
application/json
Request Body
appKey*
String
appKey
sign*
String
userId
User ID
baseCoin
String
baseCoin(/platformapi/chainup/open/staking/findBaseCoinByGroup Get a list of currencies)
minAmount
String
min pledge Amount
maxAmount
String
max pledge Amount
projectId
String
projectId
startTime
number
Participation start time
endTime
number
Participation end time
page
page
pageSize
pageSize
status
String
status
{
"code": "0",
"msg": "suc",
"data": {
"uid": 2000000,//用户id
"inviteCode": "AAAAAA"//邀请码
}
}
状态说明
1 -> In income
2 -> Normal unlock
3 -> Unlock in advance
5 -> Apply to Quit参数说明
appKey
String
YES
xxx_xxx
Merchant unique appKey
sign
String
YES
2ae04ed9165624419bad68e9e0f3f2sa9fbd2ae04ed916511624419bad68e9e20f3f29fbd
sign (MD5(Sort(Param) + secret))
page
String
NO
1
The default page number is 1
pageSize
String
NO
20
Number of items per page, default 10
userId
String
NO
123123
userId
返回值说明
recordsList
YES
```json
{
"uid": 10002186,
"amount": "10",
"isAuth": 1,
"pawnCoin": "BTC",
"etime": "1608719975000",
"ctime": "1616342400000",
"earlyQuitRate": "0",
"id": 284,
"projectName": "余币宝-测试B2",
"projectId": 144,
"applyStatus": 2,
"lockDay": 7
}
```Tabular data
currentint
YES
1
Current page
sizeint
YES
10
Page size
totalint
YES
6
Total data
pagesint
YES
1
Total pages
uidint
YES
10012312
User id
amountString
YES
19
Pledge deposit amount
isAuthint
YES
1
Is the real name (0/1)
pawnCoinString
YES
BTC
CoinSymbol
etimeint
YES
1616342400000
Unlock time
ctimeint
YES
1616342400000
Participation time
earlyQuitRateint
YES
0
Proportion of liquidated damages
idint
YES
286
Record id
projectNameString
YES
xxx
Project name
projectIdint
YES
144
Item id
applyStatusint
YES
2
Status (reference enumeration)
lockDayint
YES
7
Pledge cycle
Last updated