Get Soft Staking Rewards History(USER_DATA)
API Description
HTTP Request
GET /sapi/v1/soft-staking/history/rewardsRecord
Request Weight(IP)
50
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| asset | STRING | NO | |
| startTime | LONG | NO | |
| endTime | LONG | NO | |
| current | LONG | NO | |
| size | LONG | NO | |
| 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
{
"rows": [
{
"asset": "BNB",
"rewards": "0.00000557",
"rewardAsset": "BNB",
"avgAmount": "2.14",
"time": 1754007978000
},
{
"asset": "SUI",
"rewards": "0.00274257",
"rewardAsset": "SUI",
"avgAmount": "100",
"time": 1754007978000
}
],
"total": 2
}