Expand description
Specification ID utilities for handling different Ethereum hardforks and protocol versions Ethereum mainnet hardfork specification ID mapping
This module provides utilities to determine the correct SpecId (hardfork) based on block numbers for Ethereum mainnet.
Functionsยง
- get_
blob_ base_ fee_ update_ fraction_ by_ spec_ id - Returns the blob base fee update fraction based on the spec id.
- get_
hardfork_ info - Get hardfork information for a specific SpecId
- get_
mainnet_ spec_ id - Get the SpecId for a given block number on Ethereum mainnet