🇨🇳
Open Platform V2
简体中文
简体中文
  • 开放平台指引
  • 开发须知
  • OAuth授权
  • 支付
  • 赠币
  • 用户资产接口
  • 用户交易查询接口
  • 用户信息接口
  • 合约交易
  • 第三方免登录
  • 钱包
  • RWA
  • 调用示例
  • 国家编码
  • 理财
Powered by GitBook
On this page
  • 理财&矿池-参与记录-质押币种查询
  • 理财&矿池-参与记录-参与记录查询

理财

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

POST https://service.xxx.com/platformapi/chainup/open/staking/findBaseCoinByGroup

查询参与记录

Headers

Name
Type
Description

Content-Type

String

application/json


{
    "code": "0",
    "msg": "suc",
    "data": {
        "uid": 2000000,//用户id
        "inviteCode": "AAAAAA"//邀请码
    }
}

参数说明参数说明

无

返回值说明

名称
类型
是否必需
例子
描述

data

List

YES

质押币种集合

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

POST https://service.xxx.com/platformapi/chainup/open/staking/getApplyRecord

查询参与记录

Headers

Name
Type
Description

Content-Type

String

application/json

Request Body

Name
Type
Description

appKey*

String

商家唯一编号appKey

sign*

String

userId

用户ID

baseCoin

String

质押币种(/platformapi/chainup/open/staking/findBaseCoinByGroup接口获取币种列表)

minAmount

String

最小质押金额

maxAmount

String

最大质押金额

projectId

String

项目ID

startTime

number

参与起始时间(时间戳)

endTime

number

参与结束时间(时间戳)

page

当前页码

pageSize

分页大小

status

String

状态(参考枚举)


{
    "code": "0",
    "msg": "suc",
    "data": {
        "uid": 2000000,//用户id
        "inviteCode": "AAAAAA"//邀请码
    }
}

状态说明

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

参数说明

名称
类型
是否必需
例子
描述

appKey

String

YES

xxx_xxx

商家唯一appKey

sign

String

YES

2ae04ed9165624419bad68e9e0f3f2sa9fbd2ae04ed916511624419bad68e9e20f3f29fbd

签名(MD5(Sort(Param) + secret))

page

String

NO

1

页码 默认1

pageSize

String

NO

20

每页条数,默认10

userId

String

NO

123123

userId

返回值说明

名称
类型
是否必需
例子
描述

List

YES

列表数据

int

YES

1

当前页

int

YES

10

当前分页数量

int

YES

6

总数据量

int

YES

1

总页数

名称
类型
是否必需
例子
描述

int

YES

10012312

用户id

String

YES

19

质押金额

int

YES

1

是否实名 0/1

String

YES

BTC

币种

int

YES

1616342400000

解锁时间

int

YES

1616342400000

参与时间

int

YES

0

违约金比例

int

YES

286

记录id

String

YES

xxx

项目名称

int

YES

144

项目id

int

YES

2

状态(参考枚举)

int

YES

7

质押周期

1

Previous国家编码

Last updated 1 year ago

[
        "BTC",
        "EUSDT"
    ]
records
```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
            }
```
current
size
total
pages
uid
amount
isAuth
pawnCoin
etime
ctime
earlyQuitRate
id
projectName
projectId
applyStatus
lockDay