Staking
Get BETH rewards distribution history(USER_DATA)
- The time between startTime and endTime cannot be longer than 3 months.
- 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.
Weight(IP): 150
get/sapi/v1/eth-staking/eth/history/rewardsHistory
Query parameters
startTimeinteger
UTC timestamp in ms
endTimeinteger
UTC timestamp in ms
currentinteger
Example:1
Current querying page. Start from 1. Default:1
sizeinteger
Example:100
Default:10 Max:100
recvWindowinteger
Example:5000
The value cannot be greater than 60000
timestampinteger required
UTC timestamp in ms
signaturestring required
Signature
Response
BETH rewards distribution history
Example response
{
"rows": [
{
"time": 1575018510000,
"asset": "ETH",
"holding": "2.3223",
"amount": "0.23223",
"annualPercentageRate": "0.5",
"status": "SUCCESS"
}
],
"total": 1
}