Cloud Validator Settles EL Rewards
This functionality allows you to check your rewards earned through staking on the cloud platform.
How it works:
Make a request: You can use a GET request to the API endpoint
/api/v1/cloud/validator/el/settle/rewards
.Optional parameters:
Start & End Date (YYYY-MM-DD format): Specify the date range for which you want to see rewards (limited to one month).
Validator Indexes (array): List specific validators to view their rewards (if empty, all your validators are included).
Page & Limit: Control the number of results displayed per page.
Parameter name
Data type
Whether it must be passed.
Description
start_date
string
false
Start date (YYYY-MM-DD) (UTC + 8)
end_date
string
false
End date (YYYY-MM-DD) (UTC + 8)
validator_indexes
array
false
Validator index list (if empty, query all validators of the user by default; if not empty, query the data of the specified validator)
page
int
false
Page number (default is 1)
limit
int
false
Number of entries per page (default is 10, maximum support is 1000)
Note: Request date limit is up to one month
end_date cannot be greater than the current date.
start_date cannot be greater than the current date.
This interface only supports querying mainnet reward data
This interface only supports queries. The current time node index exists on the cloud platform and there is index data for block reward data
Response:
If successful, you'll receive a response with details like:
Example: start_date="2023-07-01"end_date="2023-07-03"
Response
Parameter name
Data type
Description
pubkey
string
Public key
validator_index
int
Validator index
fee_address
string
Fee addres
el_reward
string
Block sales revenue
fee_rate
string
Service charge ratio
user_reward
string
User benefits
service_fee
string
Service charge
reward_time
string
Block production time
block_number
int
Block height
Example:
Last updated