Sysvar
Synthetic accounts that allow programs to access certain network states.
- CLOCK: Final[Pubkey] = Pubkey( SysvarC1ock11111111111111111111111111111111, )
Pubkey of the synthetic account that serves the current network time.
- RECENT_BLOCKHASHES: Final[Pubkey] = Pubkey( SysvarRecentB1ockHashes11111111111111111111, )
Pubkey of the synthetic account that serves recent blockhashes.
- RENT: Final[Pubkey] = Pubkey( SysvarRent111111111111111111111111111111111, )
Pubkey of the synthetic account that serves the network fee resource consumption.
- REWARDS: Final[Pubkey] = Pubkey( SysvarRewards111111111111111111111111111111, )
Pubkey of the synthetic account that serves the network rewards.
- STAKE_HISTORY: Final[Pubkey] = Pubkey( SysvarStakeHistory1111111111111111111111111, )
Pubkey of the synthetic account that serves the stake history.
- EPOCH_SCHEDULE: Final[Pubkey] = Pubkey( SysvarEpochSchedu1e111111111111111111111111, )
The EpochSchedule sysvar contains epoch scheduling constants that are set in genesis, and enables calculating the number of slots in a given epoch, the epoch for a given slot, etc. (Note: the epoch schedule is distinct from the leader schedule).
- INSTRUCTIONS: Final[Pubkey] = Pubkey( Sysvar1nstructions1111111111111111111111111, )
The Instructions sysvar contains the serialized instructions in a Message while that Message is being processed. This allows program instructions to reference other instructions in the same transaction. Read more information on instruction introspection.