链上赚币定期申购预览(USER_DATA)
接口描述
链上赚币定期申购预览
HTTP请求
GET /sapi/v1/onchain-yields/locked/subscriptionPreview
请求权重(IP)
50
请求参数
名称 | 类型 | 是否必需 | 描述 |
---|---|---|---|
projectId | STRING | YES | |
amount | DECIMAL | YES | |
autoSubscribe | BOOLEAN | NO | true 或者 false,默认true |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
响应示例
{
"rewardAsset":"SOLV", //收益资产
"totalRewardAmt": "5.17181528", //锁仓期结束后总收益
// 产品类型是存A发A时返回:
"nextPay": "1.29295383", //下一次支付收益预估
"nextPayDate": "1646697600000", //下一次支付收益时间
// 产品类型是存A发C时返回:
"rewardsPayDate": "1646697600000", //收益支付时间
"valueDate": "1646697600000",
"rewardsEndDate": "1651449600000", //最后计息日
"deliverDate": "1651536000000", //赎回到账时间(autoSubscribe=false,不返回)
"nextSubscriptionDate": "1651536000000" //autoSubscribe=true 时返回
}