跳到主要内容

Get RWUSD Redemption History (USER_DATA)

API Description

Get RWUSD redemption history.

HTTP Request

GET /sapi/v1/rwusd/history/redemptionHistory

Request Weight (IP)

150

Request Parameters

NameTypeMandatoryDescription
startTimeLONGNO
endTimeLONGNO
currentLONGNOCurrently querying page. Starts from 1. Default: 1
sizeLONGNONumber of results per page. Default: 10, Max: 100
recvWindowLONGNO
timestampLONGYES
  • The time between startTime and endTime cannot be longer than 6 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, endTime will default to current time, and results from startTime onward will be returned.
  • If endTime is sent but startTime is not sent, startTime defaults to the current time minus one month, and data between startTime and endTime will be returned.

Response Example

{
"rows": [
{
"time": 1575018510000,
"asset": "RWUSD",
"amount": "51",
"receiveAsset": "USDC",
"receiveAmount": "50",
"fee": "1",
"arrivalTime": 1575018510000,
"status": "SUCCESS" // PENDING, SUCCESS
}
],
"total": 1
}