Skip to main content

Get Collateral Record(USER_DATA)

API Description

Get Collateral Record

HTTP Request

GET /sapi/v1/simple-earn/flexible/history/collateralRecord

Request Weight(IP)

1

Request Parameters

| Name | Type | Mandatory Description | | ---------- | ------ | --------- | ----------------------------------------------------------------------------------------------------------- | | productId | STRING | NO | | | startTime | LONG | NO | | | endTime | LONG | NO | | | current | LONG | NO | Currently querying page. Start from 1. Default:1 | | size | LONG | NO | Default:10, Max:100 | | recvWindow | LONG | NO | The value cannot be greater than 60000 | | timestamp | LONG | YES | |

  • The time between startTime and endTime cannot be longer than 30 days.
  • 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": [
{
"amount": "100.00000000",
"productId": "BUSD001",
"asset": "USDT",
"createTime": 1575018510000,
"type": "REPAY",
"productName": "USDT",
"orderId": 26055
}
],
"total": "1"
}