ethereum.arrow_glacier.blocks
A Block
is a single link in the chain that is Ethereum. Each Block
contains
a Header
and zero or more transactions. Each Header
contains associated
metadata like the block number, parent block hash, and how much gas was
consumed by its transactions.
Together, these blocks form a cryptographically secure journal recording the history of all state transitions that have happened since the genesis of the chain.
Header
Header portion of a block on the chain.
20 | @slotted_freezable |
---|
21 | @dataclass |
---|
class Header:
parent_hash
27 | parent_hash: Hash32 |
---|
ommers_hash
28 | ommers_hash: Hash32 |
---|
coinbase
29 | coinbase: Address |
---|
state_root
30 | state_root: Root |
---|
transactions_root
31 | transactions_root: Root |
---|
receipt_root
32 | receipt_root: Root |
---|
bloom
33 | bloom: Bloom |
---|
difficulty
34 | difficulty: Uint |
---|
number
35 | number: Uint |
---|
gas_limit
36 | gas_limit: Uint |
---|
gas_used
37 | gas_used: Uint |
---|
timestamp
38 | timestamp: U256 |
---|
extra_data
39 | extra_data: Bytes |
---|
mix_digest
40 | mix_digest: Bytes32 |
---|
nonce
41 | nonce: Bytes8 |
---|
base_fee_per_gas
42 | base_fee_per_gas: Uint |
---|
Block
A complete block.
45 | @slotted_freezable |
---|
46 | @dataclass |
---|
class Block:
header
52 | header: Header |
---|
transactions
53 | transactions: Tuple[Union[Bytes, LegacyTransaction], ...] |
---|
ommers
54 | ommers: Tuple[Header, ...] |
---|
Log
Data record produced during the execution of a transaction.
57 | @slotted_freezable |
---|
58 | @dataclass |
---|
class Log:
address
64 | address: Address |
---|
topics
65 | topics: Tuple[Hash32, ...] |
---|
data
66 | data: bytes |
---|
Receipt
Result of a transaction.
69 | @slotted_freezable |
---|
70 | @dataclass |
---|
class Receipt:
succeeded
76 | succeeded: bool |
---|
cumulative_gas_used
77 | cumulative_gas_used: Uint |
---|
bloom
78 | bloom: Bloom |
---|
logs
79 | logs: Tuple[Log, ...] |
---|