Skip to main content

Get WBETH unwrap history(USER_DATA)

API Description

Get WBETH unwrap history

HTTP Request

GET /sapi/v1/eth-staking/wbeth/history/unwrapHistory

Request Weight(IP)

150

Request Parameters

NameTypeMandatoryDescription
startTimeLONGNO
endTimeLONGNO
currentLONGNOCurrently querying page. Start from 1. Default:1
sizeLONGNODefault:10, Max:100
recvWindowLONGNO
timestampLONGYES
  • 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.

Response Example

{
"rows": [
{
"time": 1575018510000,
"fromAsset": "WBETH",
"fromAmount": "21312.23223",
"toAsset": "BETH",
"toAmount": "21312.23223",
"exchangeRate": "1.01243253", // BETH value per 1 WBETH
"status": "SUCCESS" // PENDING,SUCCESS,FAILED
}
],
"total": 1
}