Structs§
- FeeDetails
- FeeHistory
Cache Item - A single item in the whole fee history cache
- FeeHistory
Service - 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