Blocks
Blocks are the building blocks of blockchains and rollups. A block contains transactions that will alter the state of an EVM system incrementally. Transactions within a block can only be executed one after the other, not in parallel.
These tables are useful for identifying block activity and transaction changes over time.
ETL data class
Column Name | Data Type | Note |
---|---|---|
timestamp | timestamp | |
number | int | |
hash | str | primary key |
parent_hash | str | |
nonce | str | |
sha3_uncles | str | |
transactions_root | str | |
state_root | str | |
receipts_root | str | |
miner | str | |
difficulty | int | |
total_difficulty | int | |
size | int | |
extra_data | str | |
gas_limit | int | |
gas_used | int | |
transactions_count | int | |
base_fee_per_gas | int | |
withdrawals_root | str | |
blob_gas_used | int | |
excess_blob_gas | int | |
traces_count | int | |
internal_transactions_count | int |
Examples
Column Name | Data Type | Note |
---|---|---|
hash | bytea | primary key |
number | bigint | |
timestamp | timestamp | |
parent_hash | bytea | |
nonce | bytea | |
gas_limit | numeric(100) | |
gas_used | numeric(100) | |
base_fee_per_gas | numeric(100) | |
difficulty | numeric(38) | |
total_difficulty | numeric(38) | |
size | bigint | |
miner | bytea | |
sha3_uncles | bytea | |
transactions_root | bytea | |
transactions_count | bigint | |
state_root | bytea | |
receipts_root | bytea | |
extra_data | bytea | |
withdrawals_root | bytea | |
create_time | timestamp | default now() |
update_time | timestamp | default now() |
reorg | boolean | |
blob_gas_used | numeric(100) | |
excess_blob_gas | numeric(100) | |
traces_count | bigint | |
internal_transactions_count | bigint |
Examples
Last updated