Get Flexible Rewards History(USER_DATA)
#
API DescriptionGet Flexible Rewards History
#
HTTP RequestGET /sapi/v1/simple-earn/flexible/history/rewardsRecord
#
Request Weight(IP)150
#
Request ParametersName | Type | Mandatory | Description |
---|---|---|---|
productId | STRING | NO | |
asset | STRING | NO | |
startTime | LONG | NO | |
endTime | LONG | NO | |
type | ENUM | YES | Bonus - Bonus tiered APR, REALTIME Real-time APR, REWARDS Historical rewards |
- The time between
startTime
andendTime
cannot be longer than 3 months.- If
startTime
andendTime
are both not sent, then the last 30 days' data will be returned.- If
startTime
is sent butendTime
is not sent, the next 30 days' data beginning fromstartTime
will be returned.- If
endTime
is sent butstartTime
is not sent, the 30 days' data beforeendTime
will be returned.