Module fees

Source

Structs§

FeeDetails
FeeHistoryCacheItem
A single item in the whole fee history cache
FeeHistoryService
An async service that takes care of the FeeHistory cache
FeeManager
Stores the fee related information

Constants§

BASE_FEE_CHANGE_DENOMINATOR
Bounds the amount the base fee can change between blocks.
INITIAL_BASE_FEE
Initial base fee for EIP-1559 blocks.
INITIAL_GAS_PRICE
Initial default gas price for the first block
MAX_FEE_HISTORY_CACHE_SIZE
Maximum number of entries in the fee history cache
MIN_SUGGESTED_PRIORITY_FEE
Minimum suggested priority fee

Functions§

calculate_next_block_base_fee
Calculate base fee for next block. EIP-1559 spec
default_elasticity

Type Aliases§

FeeHistoryCache