Solana Rewards API
Solana rewards are incentives given to investors and validators for staking their SOL tokens to secure the network.This section covers how to access information about the latest Solana rewards among other examples.
This Solana API is part of our Early Access Program (EAP), which is intended for evaluation purposes. This program allows you to test the data and its integration into your applications before full-scale implementation. Read more here
Latest Rewards
The query below helps track the most recent reward distributions on the Solana blockchain in real-time. You can find the query here
subscription {
Solana {
Rewards(limit: {count: 10}) {
Block {
Hash
Height
Slot
RewardsCount
Time
}
Reward {
RewardType
PostBalance
Index
Commission
Amount
Address
}
}
}
}
Rewards for a Wallet Address
If you're interested in tracking the rewards for a specific wallet address, you can modify the query to filter results based on the address. This allows stakeholders to monitor their own rewards or analyze rewards distribution to specific addresses over time. You can find the query here
subscription {
Solana {
Rewards(
limit: {count: 10}
where: {Reward: {Address: {is: "HnfPZDrbJFooiP9vvgWrjx3baXVNAZCgisT58gyMCgML"}}}
) {
Block {
Hash
Height
Slot
RewardsCount
Time
}
Reward {
RewardType
PostBalance
Index
Commission
Amount
Address
}
}
}
}