Skip to main content

Index Linked Plan Redemption(USER_DATA)

API Description#

Get the history of Index Linked Plan Redemption transactions

HTTP Request#

GET /sapi/v1/lending/auto-invest/redeem/history

Request Weight(IP)#

1

Request Parameters#

NameTypeMandatoryDescription
requestIdLONGYESrequest id
startTimeLONGNO
endTimeLONGNO
currentLONGNOCurrently querying page. Start from 1,Default:1
assetSTRINGNO
sizeLONGNODefault:10, Max:100
recvWindowLONGNOno more than 60000
timestampLONGYES
  • Max 30 day difference between startTime and endTime
  • If no startTime and endTime, default to show past 30 day records

Response Example#

[  {    "indexId":1,                        //index identifier    "indexName":"BINANCE TOP 10 EW",    //index name    "redemptionId":11                   //redemption record identifier    "status":"SUCCESS",                 //redemption SUCCESS/FAILED      "asset":"BTC",                      //asset invovled    "amount":"0.005",                   //redemption amount    "redemptionDateTime":1648378800000, //redemption timestamp    "transactionFee":"0",               //redemption fee    "transactionFeeUnit":"USDT"         //denomination of redemption fee amount  },  {    "indexId":1,     "indexName":"BINANCE TOP 10 EW",     "redemptionId":12     "status":"SUCCESS",      "asset":"BNB",     "amount":"0.005",    "redemptionDateTime":1648378800000,     "transactionFee":"0",     "transactionFeeUnit":"USDT"   }]