Module solana_program::sysvar::fees

source ·
Expand description

Current cluster fees.

The fees sysvar provides access to the Fees type, which contains the current FeeCalculator.

Fees implements Sysvar::get and can be loaded efficiently without passing the sysvar account ID to the program.

This sysvar is deprecated and will not be available in the future. Transaction fees should be determined with the getFeeForMessage RPC method. For additional context see the Comprehensive Compute Fees proposal.

See also the Solana documentation on the fees sysvar.

Structs

FeesDeprecated
Transaction fees.

Statics

The static program ID.

Functions

check_idDeprecated
Returns true if given pubkey is the program ID.
idDeprecated
Returns the program ID.