get reward info
Overview
The /staking/getRewardInfo
API provides reward information for the WEMIX.Fi staking pool.
Staking reward information
GET
/staking/getRewardInfo
Returns the staking pool's reward based on the block number you entered.
Query Parameters
Name | Type | Description |
---|---|---|
block_number | number | Block number to view data |
Request
Parameter
Name | Type | Description |
---|---|---|
block_number | number | Block number to view data |
Response
Parameter
Name | Type | Description |
---|---|---|
type | string | success/failure status |
message | string | success/failure message |
data | - | - |
totalStakedGrand | string | Total number of WEMIX staked in GRAND Staking in wei and WEMIX |
totalRewardGrand | string | Total amount of reward accrued from GRAND Staking in wei and WEMIX |
totalStakedLiquid | string | Total number of WEMIX staked in LIQUID Staking in wei and WEMIX |
totalRewardLiquid | string | Total amount of reward accrued from LIQUID Staking in wei and WEMIX |