Skip to main content

Table Details

PropertyValue
Table Namestarknet.raw.blocks
Table StatusProduction-Ready
Unique Keynumber
Clustering Key(s)to_date("timestamp")

Table Columns

Column NameData TypeDescription
numberNUMBER(38,0)The length of the chain, in blocks.
timestampTIMESTAMP_NTZ(9)The unix timestamp for when the block was collated.
hashVARCHAR(16777216)Unique identifier of a block.
parent_hashVARCHAR(16777216)Unique identifier of the block preceding this block, also known as the parent block.
new_rootVARCHAR(16777216)The new state root after applying this block’s transactions.
sequencer_addressVARCHAR(16777216)The address of the sequencer that produced this block.
statusVARCHAR(16777216)The status of the block
starknet_versionVARCHAR(16777216)The version of the Starknet protocol used for this block.
l1_da_modeVARCHAR(16777216)The data availability mode for L1 (e.g., ‘BLOB’, ‘CALLDATA’).
l1_data_gas_price_friNUMBER(38,0)The L1 data gas price in FRI (Field Representation Integer) units.
l1_gas_price_friNUMBER(38,0)The L1 gas price, denominated in fri
l2_gas_price_friNUMBER(38,0)The L2 gas price, denominated in fri
l1_data_gas_price_weiNUMBER(38,0)The L1 data gas price, denominated in wei
l1_gas_price_weiNUMBER(38,0)The L1 gas price, denominated in wei
l2_gas_price_weiNUMBER(38,0)The L2 gas price, denominated in wei
transaction_countNUMBER(38,0)Number of transactions included in this block.
_created_atTIMESTAMP_NTZ(9)Timestamp when the record was created.
_updated_atTIMESTAMP_NTZ(9)Timestamp when the record was last updated.