Raw
Blocks
Blocks are ordered sets of Starknet transactions that are run using the Starknet OS, resulting in one aggregated state change that is then committed to the Starknet L1 core contract. A block has:
-
a block hash – a unique stable identifier that can be used to query and refer to the block.
-
a block number – an ordinal number representing the location of the block in the sequence of accepted blocks in Starknet. Note, a block’s number may change over time. Also, a given number may refer to different blocks at different points in time, e.g., in the event of L1 chain re-orders.
Table Columns
Column Name | Description |
---|---|
timestamp | The unix timestamp for when the block was collated. |
number | An ordinal number representing the location of the block in the sequence of accepted blocks in Starknet. |
hash | Unique identifier for that block. |
parent_hash | Unique identifier of the block preceding this block, also known as the parent block. |
new_root | The new global state root. |
sequencer_address | The StarkNet identity of the sequencer submitting this block. |
status | The status of the block. Possible values: PENDING , ACCEPTED_ON_L2 , ACCEPTED_ON_L1 , REJECTED. |
gas_price | The price of l1 gas in the block. |
transaction_count | Number of transactions included in this block. |