Staking
Finance & Mining Pool - Participation record - Pledge currency query
POST
https://service.xxx.com/platformapi/chainup/open/staking/findBaseCoinByGroup
Query participation record
Headers
Name | Type | Description |
---|---|---|
Content-Type | String | application/json |
Parameter description
None
Return value declaration
Name | Type | Necessary | Example | Description |
---|---|---|---|---|
data | List | YES | 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
Name | Type | Description |
---|---|---|
Content-Type | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
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 |
状态说明
参数说明
Name | Type | Necessary | Example | Description |
---|---|---|---|---|
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 |
返回值说明
Name | Type | Necessary | Example | Description |
---|---|---|---|---|
List | YES | Tabular data | ||
int | YES | 1 | Current page | |
int | YES | 10 | Page size | |
int | YES | 6 | Total data | |
int | YES | 1 | Total pages |
Name | Type | Necessary | Example | Description |
---|---|---|---|---|
int | YES | 10012312 | User id | |
String | YES | 19 | Pledge deposit amount | |
int | YES | 1 | Is the real name (0/1) | |
String | YES | BTC | CoinSymbol | |
int | YES | 1616342400000 | Unlock time | |
int | YES | 1616342400000 | Participation time | |
int | YES | 0 | Proportion of liquidated damages | |
int | YES | 286 | Record id | |
String | YES | xxx | Project name | |
int | YES | 144 | Item id | |
int | YES | 2 | Status (reference enumeration) | |
int | YES | 7 | Pledge cycle |
Last updated