文档
测试

质押信息

GET
/api/nex/pledge

请求头

参数名
类型
描述
必填
token
string
请求头加token进行鉴权
必填

请求参数

参数名
类型
描述
必填
可选

响应参数

参数名
类型
描述
必填
code
int
状态码
必填
msg
string
返回消息
必填
time
int
时间戳
必填
data
object (json)
数据集合
必填
project
object (json)
项目集合
必填
object (json)
项目
必填
p_id
int
项目ID
必填
cycle
int
质押周期,例:质押周期15天
必填
min
int
最低质押数量,例:最低500NEX起
必填
rate
int
预估收益,例:5,即5%
必填
residue
string
剩余百分比
必填
e_quantity
string
剩余可质押数量
必填
list
object (json)
质押集合(参与份额)
必填
list
object (json)
数据集合,每条数据一个json集合
必填
object (json)
数据集合
必填
id
int
质押编号
必填
p_id
int
项目ID
必填
cycle
int
质押周期,例:质押周期15天
必填
quantity
int
质押数量
必填
rate
string
预估收益
必填
p_time
int
质押时间
必填
e_time
int
到期时间
必填
isend
int
是否到期(1:到期 0:未到期) 到期了才能操作 “赎回”
必填
redemption
int
是否被赎回1是0否
必填
count
int
行数
必填
page
int
总页数
必填
rule
object (json)
规则
必填
list
object (json)
规则集合
必填
object (json)
规则集合(可能包含多条规则)
必填
title
string
规则信息
必填
sort
int
排序
必填
count
int
行数
必填

说明 / 示例

成功 { "code": 1, "msg": "获取成功", "time": "1689246613", "data": { "project": [ { "p_id": 1, "cycle": 15, "min": 500, "rate": "5" }, { "p_id": 2, "cycle": 30, "min": 500, "rate": "8" }, { "p_id": 3, "cycle": 60, "min": 500, "rate": "10" }, { "p_id": 4, "cycle": 90, "min": 500, "rate": "12" } ], "list": { "list": [ { "id": 1, "p_id": 2, "cycle": 0, "quantity": 0, "rate": "0", "p_time": null, "e_time": null, "isend": 0, "redemption": 0 }, { "id": 2, "p_id": 2, "cycle": 0, "quantity": 0, "rate": "0", "p_time": null, "e_time": null, "isend": 0, "redemption": 0 } ], "count": 2, "page": 1 }, "rule": { "list": [ { "title": "阿萨德阿萨德啊,撒豆阿萨德哦啊死的话奥地方,奥迪和阿斯德", "sort": 1 }, { "title": "奥迪啊哈的哦爱好,阿嫂符合啊搜房好, 奥似乎奥夫哈阿偶束缚和", "sort": 2 }, { "title": "阿搜到哈怂if哈发哦私房话阿斯否还奥符合阿斯符合你", "sort": 3 }, { "title": "奥迪和啊搜的话奥四大行奥迪和奥法哦啥是狗啊黄色狗啊黄瓜", "sort": 4 }, { "title": "啊搜的话敖师傅傲骨覅哈时候啊IG少三个i哦爱上", "sort": 5 } ], "count": 5 } } } 失败 { "code": 401, "msg": "请登录后操作", "time": "1689246689", "data": null }

规则示例

规则: 1.阿萨德阿萨德啊,撒豆阿萨德哦啊死的话奥地方,奥迪和阿斯德哈哥强迫 2.奥迪啊哈的哦爱好,阿嫂符合啊搜房好, 奥似乎奥夫哈阿偶束缚和 3.阿搜到哈怂if哈发哦私房话阿斯否还奥符合阿斯符合你 4.奥迪和啊搜的话奥四大行奥迪和奥法哦啥是狗啊黄色狗啊黄瓜 5.啊搜的话敖师傅傲骨覅哈时候啊IG少三个i哦爱上 json示例: { "rule": [ [{"title": "规则1内容"}, {"title": "规则2内容"}, {"title": "规则3内容"}, {"title": "规则4内容"}, {"title": "规则5内容"}], {"count": 5} ] }