solana.raw.rewards contains rewards distributed by the solana protocol. Types of rewards include:
- fee - paid on every block to the leader
- rent - paid at the beginning on each epoch, to validators. rent collection is disabled now.
- voting - paid at the beginning on each epoch, to validators
- staking - paid at the beginner on each epoch, to stakers that have delegated to a vote account
block_timestamp and block_slot mark when a reward is disbursed, not when it was earned. Epoch-credited rewards (staking, voting, rent) are paid at the first block of the epoch after the one in which they accrued. This differs from the getInflationReward RPC, which is queried by the earned epoch — to match a row here against that call, use getInflationReward(epoch = disbursement_epoch − 1).Table Columns
| Column Name | Description | Type | Example | Column Name |
|---|---|---|---|---|
| block_slot | The slot of the block containing the parent tx. | number | 159292973 | |
block_ height | The height of the block containing the parent tx. | number | 123292963 | |
| block_timestamp | The timestamp of the block containing the parent tx. | timestamp_ntz | ||
| block_hash | The hash of the block containing the parent tx. | varchar | 5X6zcnNw6HSAn4X8GaMnzBp8JnWPcNHoAThFwFN1oeph | |
| commission | vote account commission (in %) when the reward was credited, only present for voting and staking rewards. | number | 7 | |
| lamports | number of reward lamports credited | number | 1302030 | |
| post_balance | account balance in lamports after the reward was applied | number | 190000000 | |
| pubkey | The public key, as base-58 encoded string, of the account that received the reward | varchar | F5q2LhC4246qJwKN8anB9UPCKQAtvpoEpxZ8uiw4fsgz | |
| reward_type | Type of reward: Rent, Fee, Voting, Staking | varchar | Rent |