跳到主要内容

查询BETH质押收益记录(USER_DATA)

接口描述

查询BETH质押收益记录

HTTP请求

GET /sapi/v1/eth-staking/eth/history/rewardsHistory

请求权重(IP)

150

请求参数

名称类型是否必需描述
startTimeLONGNO
endTimeLONGNO
currentLONGNO当前查询页。开始值 1, 默认 1
sizeLONGNO默认 10,最大 100
recvWindowLONGNO
timestampLONGYES
  • startTimeendTime 的最大间隔为 3 个月
  • 如果 startTimeendTime 均未发送,则默认返回最近 30 天记录
  • 如果发送了 startTime 但未发送 endTime,则将返回从 startTime 开始的接下来 30 天的数据
  • 如果发送了 endTime,但未发送 startTime,则会返回 endTime 之前 30 天的数据

响应示例

{
"rows": [
{
"time": 1575018510000,
"asset": "BETH",
"holding": "2.3223",
"amount": "0.23223",
"annualPercentageRate": "0.5",
"status": "SUCCESS"
}
],
"total": 1
}