获取 BFUSD 收益历史 (USER_DATA)
接口描述
查询 BFUSD 收益历史记录。
HTTP 请求
GET /sapi/v1/bfusd/history/rewardsHistory
请求权重 (IP)
150
请求参数
| 名称 | 类型 | 是否必需 | 描述 |
|---|---|---|---|
| startTime | LONG | NO | |
| endTime | LONG | NO | |
| current | LONG | NO | 当前查询页码,从 1 开始。默认值:1 |
| size | LONG | NO | 每页返回数量,默认值:10,最大值:100 |
| recvWindow | LONG | NO | |
| timestamp | LONG | YES |
startTime和endTime之间的时间范围不能超过 6 个月。- 如果未传入
startTime和endTime,则返回最近 30 天的数据。- 如果传入了
startTime但未传入endTime,则endTime默认为当前时间,返回从startTime开始的数据。- 如果传入了
endTime但未传入startTime,则startTime默认为当前时间的前一个月,返回startTime和endTime之间的数据。
响应示例
{
"rows": [
{
"time": 1575018510000,
"rewardsAmount": "1",
"BFUSDPosition": "100",
"annualPercentageRate": "0.0418"
}
],
"total": 1
}