Skip to main content

Get Locked Redemption Record(USER_DATA)

API Description

Get Locked Redemption Record

HTTP Request

GET /sapi/v1/simple-earn/locked/history/redemptionRecord

Request Weight(IP)

150

Request Parameters

NameTypeMandatoryDescription
positionIdINTNO
redeemIdSTRINGNO
assetSTRINGNO
startTimeLONGNO
endTimeLONGNO
currentLONGNOCurrently querying the 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": [
{
"positionId": 123123,
"redeemId": 40607,
"time": 1575018510000,
"asset": "BNB",
"lockPeriod": "30",
"amount": "21312.23223",
"originalAmount": "21312.23223",
"type": "MATURE", //MATURE for redeem to Spot Wallet, NEW_TRANSFERRED for redeem to Flexible product, AHEAD for early redemption
"deliverDate": "1575018510000",
"lossAmount": "0.00001232",// Loss of profit on early redemption
"isComplete":"true,
"rewardAsset":"AXS",
"rewardAmt": "5.17181528",
"extraRewardAsset":"BNB",
"estExtraRewardAmt": "5.17181528",
"status": "PAID"
}
],
"total": 1
}