v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Staking

Get WBETH rewards history(USER_DATA)

  • The time between startTime and endTime cannot be longer than 3 months.
  • If startTime and endTime are both not sent, then the last 30 days' data will be returned.
  • If startTime is sent but endTime is not sent, the next 30 days' data beginning from startTime will be returned.
  • If endTime is sent but startTime is not sent, the 30 days' data before endTime will be returned.

Weight(IP): 150

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

Query parameters

startTimeinteger

UTC timestamp in ms

endTimeinteger

UTC timestamp in ms

currentinteger
Example:1

Current querying page. Start from 1. Default:1

sizeinteger
Example:100

Default:10 Max:100

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

WBETH rewards history

estRewardsInETHstring required
totalinteger required

Example response

{
  "estRewardsInETH": "1.23230920",
  "rows": [
    {
      "time": 1575018510000,
      "amountInETH": "0.23223",
      "holding": "2.3223",
      "holdingInETH": "2.4231",
      "annualPercentageRate": "0.5"
    }
  ],
  "total": 1
}