Audit Validator Vote Accounts and Inflation Rewards
A 4-step recipe with Solana. We can help you get access.
Recipe · 4 steps
Audit Validator Vote Accounts and Inflation Rewards
with Solana
Check validator vote health and the inflation rewards paid to addresses.
- Read the current epoch so the caller can confirm the requested reward epoch has actually completed.
- List the cluster's vote accounts at finality, split into validators voting normally and validators the cluster considers delinquent. A stake account delegated to a delinquent validator stops earning.
- Resolve the inflation rewards credited to the supplied addresses for the completed epoch, including the amount, the commission the validator took, and the resulting balance.
- Read the network's current inflation split between validators and the foundation, the baseline any individual reward should be judged against.
What you'll need to have ready
- addresses: Base58-encoded vote or stake account addresses to resolve rewards for.
- rewardEpoch: A completed epoch to read rewards for. Must be earlier than the current epoch.
For your developer
Arazzo workflow solana:validator-rewards, 4 operations: getEpochInfo → getVoteAccounts → getInflationReward → getInflationRate. Specs on APIs.io.