Modules§
- clock
- Information about the network’s clock, ticks, slots, etc.
- epoch_
rewards - Epoch rewards for current epoch
- epoch_
schedule - Information about epoch duration.
- fees
- Current cluster fees.
- instructions
- last_
restart_ slot - Information about the last restart slot (hard fork).
- recent_
blockhashes - Information about recent blocks and their fee calculators.
- rent
- Configuration for network rent.
- rewards
- This sysvar is deprecated and unused.
- slot_
hashes - The most recent hashes of a slot’s parent banks.
- slot_
history - A bitvector of slots present over the last epoch.
- stake_
history - History of stake activations and de-activations.
Macros§
- declare_
deprecated_ sysvar_ id - Same as
declare_sysvar_id
except that it reports that this ID has been deprecated. - declare_
sysvar_ id - Declares an ID that implements
SysvarId
.
Structs§
- ALL_IDS
Deprecated
Constants§
- ID
- The const program ID.
Traits§
- Sysvar
bincode
- A type that holds sysvar data.
- Sysvar
Id - A type that holds sysvar data and has an associated sysvar
Pubkey
.
Functions§
- check_
id - Returns
true
if given pubkey is the program ID. - id
- Returns the program ID.
- is_
sysvar_ id Deprecated - Returns
true
of the givenPubkey
is a sysvar account.