Module solana_sdk::sysvar
source · [−]Expand description
Access to special accounts with dynamically-updated data.
For more details see the Solana documentation on sysvars.
Modules
This account contains the clock slot, epoch, and leader_schedule_epoch
This account contains the current cluster rent
This account contains the current cluster fees
This account contains the serialized transaction instructions
This account contains the current cluster rent
DEPRECATED: This sysvar can be removed once the pico-inflation feature is enabled
named accounts for synthesized data accounts for bank state, etc.
named accounts for synthesized data accounts for bank state, etc.
named accounts for synthesized data accounts for bank state, etc.
Macros
Same as [declare_sysvar_id
] except that it reports that this ID has been deprecated.
Declares an ID that implements SysvarId
.
Implements the Sysvar::get
method for both BPF and host targets.
Structs
Statics
The static program ID
Traits
Functions
Confirms that a given pubkey is equivalent to the program ID
Returns the program ID