v26

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

Get ETH redemption 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/redemptionHistory

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

ETH redemption history

totalinteger required

Example response

{
  "rows": [
    {
      "time": 1575018510000,
      "arrivalTime": 1575018510000,
      "asset": "BETH",
      "amount": "21312.23223",
      "status": "SUCCESS",
      "distributeAsset": "ETH",
      "distributeAmount": "21338.0699",
      "conversionRatio": "1.00121234"
    }
  ],
  "total": 1
}