The Clock sysvar contains data on cluster time, including the current slot, epoch, and estimated wall-clock Unix timestamp. It is updated every slot.
Modulesolana-haskell-sdk-1.3.0.0GHC2021
Network.Solana.Sysvar
This module provides convenient access to Solana's sysvars, special accounts that store critical state data of the blockchain. These sysvars provide real-time data such as the current slot, epoch schedules, fee rates, recent blockhashes, and more. They are frequently referenced by Solana programs to obtain necessary blockchain information during transaction execution.
- 11 values
- Packagesolana-haskell-sdk-1.3.0.0
- Exports11
- LanguageGHC2021
- LicenceApache-2.0
- SourceSysvar.hs
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.
The Fees sysvar contains the fee calculator for the current slot. It is updated every slot, based on the fee-rate governor.
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.
The RecentBlockhashes sysvar contains the active recent blockhashes as well as their associated fee calculators. It is updated every slot.
The Rent sysvar contains the rental rate.
The SlotHashes sysvar contains the most recent hashes of the slot's parent banks. It is updated every slot.
The SlotHistory sysvar contains a bitvector of slots present over the last epoch. It is updated every slot.
The StakeHistory sysvar contains the history of cluster-wide stake activations and de-activations per epoch. It is updated at the start of every epoch.
The EpochRewards sysvar holds a record of epoch rewards distribution in Solana, including block rewards and staking rewards.
The LastRestartSlot sysvar contains the slot number of the last restart or 0 (zero) if none ever happened.