# 理财

## 理财&矿池-参与记录-质押币种查询

<mark style="color:green;">`POST`</mark> `https://service.xxx.com/platformapi/chainup/open/staking/findBaseCoinByGroup`

查询参与记录

#### Headers

| Name         | Type   | Description      |
| ------------ | ------ | ---------------- |
| Content-Type | String | application/json |

#### Request Body

| Name                                     | Type    | Description                                                         |
| ---------------------------------------- | ------- | ------------------------------------------------------------------- |
| appKey<mark style="color:red;">\*</mark> | String  | 商家唯一编号appKey                                                        |
| sign<mark style="color:red;">\*</mark>   | String  |                                                                     |
| userId                                   | integer | 用户ID                                                                |
| baseCoin                                 | String  | 质押币种(/platformapi/chainup/open/staking/findBaseCoinByGroup接口获取币种列表) |
| minAmount                                | String  | 最小质押金额                                                              |
| maxAmount                                | String  | 最大质押金额                                                              |
| projectId                                | String  | 项目ID                                                                |
| startTime                                | number  | 参与起始时间(时间戳)                                                         |
| endTime                                  | number  | 参与结束时间(时间戳)                                                         |
| page                                     | integer | 当前页码                                                                |
| pageSize                                 | integer | 分页大小                                                                |
| status                                   | String  | 状态(参考枚举)                                                            |
| itemDate                                 | Long    | 锁仓时间                                                                |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
	"code": "",
	"msg": "",
	"data": [
		"BTC",
		"USDT"
	]
}
```

{% endtab %}
{% endtabs %}

#### 返回值说明

<table><thead><tr><th>名称</th><th>类型</th><th>是否必需</th><th>例子</th><th>描述</th></tr></thead><tbody><tr><td>data</td><td>List</td><td>YES</td><td><p></p><pre class="language-json"><code class="lang-json">[
    "BTC",
    "EUSDT"
]
</code></pre></td><td>质押币种集合</td></tr></tbody></table>

## 理财&矿池-参与记录-参与记录查询

<mark style="color:green;">`POST`</mark> `https://service.xxx.com/platformapi/chainup/open/staking/getApplyRecord`

查询参与记录

#### Headers

| Name         | Type   | Description      |
| ------------ | ------ | ---------------- |
| Content-Type | String | application/json |

#### Request Body

| Name                                     | Type    | Description                                                         |
| ---------------------------------------- | ------- | ------------------------------------------------------------------- |
| appKey<mark style="color:red;">\*</mark> | String  | 商家唯一编号appKey                                                        |
| sign<mark style="color:red;">\*</mark>   | String  |                                                                     |
| userId                                   | integer | 用户ID                                                                |
| baseCoin                                 | String  | 质押币种(/platformapi/chainup/open/staking/findBaseCoinByGroup接口获取币种列表) |
| minAmount                                | String  | 最小质押金额                                                              |
| maxAmount                                | String  | 最大质押金额                                                              |
| projectId                                | String  | 项目ID                                                                |
| startTime                                | number  | 参与起始时间(时间戳)                                                         |
| endTime                                  | number  | 参与结束时间(时间戳)                                                         |
| page                                     | integer | 当前页码                                                                |
| pageSize                                 | integer | 分页大小                                                                |
| status                                   | String  | 状态(参考枚举)                                                            |
| itemDate                                 | Long    | 锁仓时间                                                                |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
	"code": "",
	"msg": "",
	"data": {
		"current": 1,
		"size": 10,
		"total": 6,
		"pages": 1,
		"records": [
			{
				"uid": 10002186,
				"amount": "10",
				"isAuth": 1,
				"pawnCoin": "BTC",
				"etime": "1608719975000",
				"ctime": "1616342400000",
				"earlyQuitRate": "0",
				"id": 284,
				"projectName": "余币宝-测试B2",
				"projectId": 144,
				"applyStatus": 2,
				"lockDay": 7
			}
		]
	}
}
```

{% endtab %}
{% endtabs %}

#### 状态说明

```
1 -> 收益中
2 -> 正常解锁
3 -> 提前解锁
5 -> 申请退出
```

#### 返回值说明

<table><thead><tr><th>名称</th><th>类型</th><th>是否必需</th><th>例子</th><th>描述</th></tr></thead><tbody><tr><td><p></p><pre class="language-json"><code class="lang-json">records
</code></pre></td><td>List</td><td>YES</td><td><pre class="language-json"><code class="lang-json"><strong>{
</strong>	"uid": 10002186,
	"amount": "10",
	"isAuth": 1,
	"pawnCoin": "BTC",
	"etime": "1608719975000",
	"ctime": "1616342400000",
	"earlyQuitRate": "0",
	"id": 284,
	"projectName": "余币宝-测试B2",
	"projectId": 144,
	"applyStatus": 2,
	"lockDay": 7
}
</code></pre></td><td>列表数据</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">current
</code></pre></td><td>int</td><td>YES</td><td>1</td><td>当前页</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">size
</code></pre></td><td>int</td><td>YES</td><td>10</td><td>当前分页数量</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">total
</code></pre></td><td>int</td><td>YES</td><td>6</td><td>总数据量</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">pages
</code></pre></td><td>int</td><td>YES</td><td>1</td><td>总页数</td></tr></tbody></table>

<table><thead><tr><th width="236">名称</th><th>类型</th><th>是否必需</th><th>例子</th><th>描述</th></tr></thead><tbody><tr><td><p></p><pre class="language-json"><code class="lang-json">uid
</code></pre></td><td>int</td><td>YES</td><td>10012312</td><td>用户id</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">amount
</code></pre></td><td>String</td><td>YES</td><td>19</td><td>质押金额</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">isAuth
</code></pre></td><td>int</td><td>YES</td><td>1</td><td>是否实名 0/1</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">pawnCoin
</code></pre></td><td>String</td><td>YES</td><td>BTC</td><td>币种</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">etime
</code></pre></td><td>int</td><td>YES</td><td>1616342400000</td><td>解锁时间</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">ctime
</code></pre></td><td>int</td><td>YES</td><td>1616342400000</td><td>参与时间</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">earlyQuitRate
</code></pre></td><td>int</td><td>YES</td><td>0</td><td>违约金比例</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">id
</code></pre></td><td>int</td><td>YES</td><td>286</td><td>记录id</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">projectName
</code></pre></td><td>String</td><td>YES</td><td>xxx</td><td>项目名称</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">projectId
</code></pre></td><td>int</td><td>YES</td><td>144</td><td>项目id</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">applyStatus
</code></pre></td><td>int</td><td>YES</td><td>2</td><td>状态(参考枚举)</td></tr><tr><td><p></p><pre class="language-json"><code class="lang-json">lockDay
</code></pre></td><td>int</td><td>YES</td><td>7</td><td>质押周期</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://platformv2docs.chainup.com/li-cai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
