跳到主要内容

查询WBETH收益历史(USER_DATA)

接口描述

查询WBETH收益历史

HTTP请求

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

请求权重(IP)

150

请求参数

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

响应示例


{
“estRewardsInETH”:"1.23230920",
"rows":[
  {
    "time":1575018510000,
"amountInETH":"0.23223", // 预估累计在WBETH中的收益
    "holding":"2.3223", // WBETH持仓
    "holdingInETH":"2.4231",
    "annualPercentageRate":"0.5"
  }

]
"total": 1
}