v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Auto-Invest

Index Linked Plan Rebalance Details (USER_DATA)

Get the history of Index Linked Plan Redemption transactions

Max 30 day difference between startTime and endTime If no startTime and endTime, default to show past 30 day records

Weight(IP): 1

get/sapi/v1/lending/auto-invest/rebalance/history

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

Rebalance Details

indexIdinteger required
indexNamestring required
rebalanceIdinteger required
statusstring required
rebalanceFeestring required
rebalanceFeeUnitstring required

Example response

[
  {
    "indexId": 1,
    "indexName": "BINANCE TOP 10 EW",
    "rebalanceId": 11,
    "status": "SUCCESS",
    "rebalanceFee": "10",
    "rebalanceFeeUnit": "USDT",
    "transactionDetails": [
      {
        "asset": "BTC",
        "transactionDateTime": 1648378800000,
        "rebalanceDirection": "BUY",
        "rebalanceAmount": "0.005"
      }
    ]
  }
]