Increment
Query Participation Record
POST
/
platformapi
/
chainup
/
open
/
staking
/
getApplyRecord
curl --request POST \
--url http://service.xxx.com/platformapi/chainup/open/staking/getApplyRecord
{
"code": "0",
"msg": "suc",
"data": {
"uid": 2000000,
"inviteCode": "AAAAAA"
}
}
Status description
1 -> In income
2 -> Normal unlock
3 -> Unlock in advance
5 -> Apply to Quit
Return value declaration
{
"uid": 10002186,
"amount": "10",
"isAuth": 1,
"pawnCoin": "BTC",
"etime": "1608719975000",
"ctime": "1616342400000",
"earlyQuitRate": "0",
"id": 284,
"projectName": "余币宝-测试B2",
"projectId": 144,
"applyStatus": 2,
"lockDay": 7
}
| Name | Type | Necessary | Example | Description |
|---|---|---|---|---|
| records | List | Yes | Refer to above | Tabular data |
| current | int | Yes | 1 | Current page |
| size | int | Yes | 10 | Page size |
| total | int | Yes | 6 | Total data |
| pages | int | Yes | 1 | Total pages |
| uid | int | Yes | 10012312 | User’s ID |
| amount | String | Yes | 19 | Pledge deposit amount |
| isAuth | int | Yes | 1 | Is the real name (0/1) |
| pawnCoin | String | Yes | BTC | Coin symbol |
| etime | int | Yes | 1616342400000 | Unlock time |
| ctime | int | Yes | 1616342400000 | Participation time |
| earlyQuitRate | int | Yes | 0 | Proportion of liquidated damages |
| id | int | Yes | 286 | Record ID |
| projectName | String | Yes | xxx | Project name |
| projectId | int | Yes | 2 | Item ID |
| applyStatus | int | Yes | 2 | Status (reference enumeration) |
| lockDay | int | Yes | 7 | Pledge cycle |
Query Parameters
appKey
string
requiredMerchant AppKey
Example: xxx_xxx
sign
string
requiredSignature
Example: 2ae04ed9165624419bad68e9e0f3f2sa9fbd2ae04ed916511624419bad68e9e20f3f29fbd
page
number
Paging parameters (page number).
Example: 1
pageSize
number
Paging parameters (page size).
Example: 10
userId
string
User's ID
Example: 123123
Response
200 - application/json
code
string
Return code.
Example: 0
msg
string
Success or failure message
Example: Success
data
object
curl --request POST \
--url http://service.xxx.com/platformapi/chainup/open/staking/getApplyRecord
{
"code": "0",
"msg": "suc",
"data": {
"uid": 2000000,
"inviteCode": "AAAAAA"
}
}