Get BFUSD Rewards History (USER_DATA)
API Description
Get BFUSD rewards history.
HTTP Request
GET /sapi/v1/bfusd/history/rewardsHistory
Request Weight (IP)
150
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| startTime | LONG | NO | |
| endTime | LONG | NO | |
| current | LONG | NO | Currently querying page. Starts from 1. Default: 1 |
| size | LONG | NO | Number of results per page. Default: 10, Max: 100 |
| recvWindow | LONG | NO | |
| timestamp | LONG | YES |
- The time between
startTimeandendTimecannot be longer than 6 months.- If
startTimeandendTimeare both not sent, then the last 30 days' data will be returned.- If
startTimeis sent butendTimeis not sent,endTimewill default to current time, and results fromstartTimeonward will be returned.- If
endTimeis sent butstartTimeis not sent,startTimedefaults to the current time minus one month, and data betweenstartTimeandendTimewill be returned.
Response Example
{
"rows": [
{
"time": 1575018510000,
"rewardsAmount": "1",
"BFUSDPosition": "100",
"annualPercentageRate": "0.0418"
}
],
"total": 1
}