Get BNSOL rewards history(USER_DATA)
API Description
Get BNSOL rewards history
HTTP Request
GET /sapi/v1/sol-staking/sol/history/bnsolRewardsHistory
Request Weight(IP)
150
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| 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 | |
| timestamp | LONG | YES |
- The time between
startTimeandendTimecannot be longer than 3 months.- If
startTimeandendTimeare both not sent, then the last 30 days' data will be returned.- If
startTimeis sent butendTimeis not sent, the next 30 days' data beginning fromstartTimewill be returned.- If
endTimeis sent butstartTimeis not sent, the 30 days' data beforeendTimewill be returned.
Response Example
{
“estRewardsInSOL”:"1.23230920",
"rows":[
{
"time":1575018510000,
"amountInSOL":"0.23223", //reward amount
"holding":"2.3223", // BNSOL holding balance
"holdingInSOL":"2.4231",
"annualPercentageRate":"0.5" // 0.5 means 50% here
}
]
"total": 1
}