Epoch Rewards
- class EpochRewards
- A type to hold data for the EpochRewards sysvar. - active
- Whether the rewards period (including calculation and distribution) is active - Type:
- bool 
 
 - distributed_rewards
- The rewards currently distributed for the current epoch, in lamports - Type:
- int 
 
 - distribution_starting_block_height
- The starting block height of the rewards distribution in the current epoch - Type:
- int 
 
 - static from_bytes(data)
- Deserialize from bytes. - Parameters:
- data (bytes) – the serialized object. 
 - Returns: the deserialized object. 
 - static from_json(raw)
- Build from a JSON string. 
 - num_partitions
- Number of partitions in the rewards distribution in the current epoch, used to generate an EpochRewardsHasher - Type:
- int 
 
 - parent_blockhash
- The blockhash of the parent block of the first block in the epoch, used to seed an EpochRewardsHasher - Type:
- Blockhash 
 
 - to_json()
- Convert to a JSON string. 
 - total_points
- The total rewards points calculated for the current epoch, where points equals the sum of (delegated stake * credits observed) for all delegations - Type:
- int 
 
 - total_rewards
- The total rewards calculated for the current epoch. This may be greater than the total distributed_rewards at the end of the rewards period, due to rounding and inability to deliver rewards smaller than 1 lamport. - Type:
- int