Get WBETH rewards history(USER_DATA)
API Description
Get WBETH rewards history
HTTP Request
GET /sapi/v1/eth-staking/eth/history/wbethRewardsHistory
Request Weight(IP)
150
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
startTime | LONG | NO | |
endTime | LONG | NO | |
current | LONG | NO | Currently querying page. Start from 1. Default: 1 |
size | LONG | NO | Default: 10, Max: 100 |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- The time between
startTime
andendTime
cannot be longer than 3 months.- If
startTime
andendTime
are both not sent, then the last 30 days' data will be returned.- If
startTime
is sent butendTime
is not sent, the next 30 days' data beginning fromstartTime
will be returned.- If
endTime
is sent butstartTime
is not sent, the 30 days' data beforeendTime
will be returned.
Response Example
{
“estRewardsInETH”:"1.23230920",
"rows":[
{
"time":1575018510000,
"amountInETH":"0.23223", // Estimated rewards accrued within WBETH
"holding":"2.3223", // WBETH holding balance
"holdingInETH":"2.4231",
"annualPercentageRate":"0.5"
}
]
"total": 1
}