Kit
Type aliases

SysvarEpochRewards

SysvarEpochRewards = Readonly<{ active: boolean; distributedRewards: Lamports; distributionStartingBlockHeight: bigint; numPartitions: bigint; parentBlockhash: Blockhash; totalPoints: bigint; totalRewards: Lamports; }>

Tracks whether the rewards period (including calculation and distribution) is in progress, as well as the details needed to resume distribution when starting from a snapshot during the rewards period.

The sysvar is repopulated at the start of the first block of each epoch. Therefore, the sysvar contains data about the current epoch until a new epoch begins.