ExecutionContext

class eth.vm.execution_context.ExecutionContext(coinbase: Address, timestamp: int, block_number: BlockNumber, difficulty: int, mix_hash: Hash32, gas_limit: int, prev_hashes: Iterable[Hash32], chain_id: int, base_fee_per_gas: int | None = None, excess_blob_gas: int | None = None)
property base_fee_per_gas: int

Return the base fee per gas of the block

property block_number: BlockNumber

Return the number of the block.

property chain_id: int

Return the id of the chain.

property coinbase: Address

Return the coinbase address of the block.

property difficulty: int

Return the difficulty of the block.

property excess_blob_gas: int

Return the excess blob gas of the block

property gas_limit: int

Return the gas limit of the block.

property mix_hash: Hash32

Return the mix hash of the block

property prev_hashes: Iterable[Hash32]

Return an iterable of block hashes that precede the block.

property timestamp: int

Return the timestamp of the block.