Reward Rates
Returns a time series of annualized daily staking gross reward rates.
Parameters
figment
- Type: boolean
- Defaults to: false
- Description: If
true, for our main public validator only. Otherwise, for the whole network.
avg
- Type: string
- Enum:
- Defaults to: 7d
- Description: If
7d, returns the 7 days moving average. If not, returns the daily spot rates.
decimal
- Type: integer
- Defaults to: 2
- Description: Specifies the number of desired decimal to be returned. Accepts values between 2 (default) and 5.
Responses
200 List of rewards rates
Object
- data: array of objects
- date: string - Specific date associated with value (staking reward rates).
- value: string - Staking reward rates, in %.
- protocol: string - Protocol (inflationary) portion of the staking reward rates, in %.
- mev: string - Mev portion of the staking reward rates, in %.
400 Parameter error
401 Unauthorized
500 System error
Example CURL Request
curl --request GET \
--url 'https://api.figment.io/solana/rewards_rates?figment=false&avg=7d&decimal=2' \
--header 'accept: application/json' \
--header 'x-api-key: your-api-key-here'
Example Response
{
"data": [
{
"date": "2024-11-26",
"value": "10.37",
"protocol": "6.81",
"mev": "2.91"
},
{
"date": "2024-11-25",
"value": "10.37",
"protocol": "6.81",
"mev": "2.91"
},
{
"date": "2024-11-24",
"value": "10.60",
"protocol": "6.82",
"mev": "3.78"
},
{
"date": "2024-11-23",
"value": "11.71",
"protocol": "6.87",
"mev": "4.84"
},
{
"date": "2024-11-21",
"value": "11.93",
"protocol": "6.78",
"mev": "4.65"
}
]
}