@@ -24,9 +24,9 @@ type Header struct {
2424 GlobalStateRoot * felt.Felt
2525 // The Starknet address of the sequencer who created this block
2626 SequencerAddress * felt.Felt
27- // The amount Transactions and Receipts stored in this block
27+ // Number of transactions in this block
2828 TransactionCount uint64
29- // The amount of events stored in transaction receipts
29+ // Number of events stored in transaction receipts
3030 EventCount uint64
3131 // The time the sequencer created this block before executing transactions
3232 Timestamp uint64
@@ -35,17 +35,18 @@ type Header struct {
3535 ProtocolVersion string
3636 // Bloom filter on the events emitted this block
3737 EventsBloom * bloom.BloomFilter
38- // Amount of WEI charged per Gas spent on L1
38+ // L1 gas price in WEI (ETH), amount charged per unit of L1 gas
3939 L1GasPriceETH * felt.Felt `cbor:"gasprice"`
40- // Amount of STRK charged per Gas spent on L2
40+ // Consensus signatures on this block header (not account/transaction signatures)
4141 Signatures [][]* felt.Felt
42- // Amount of STRK charged per Gas spent on L1
42+ // L1 gas price in FRI ( STRK), amount charged per unit of L1 gas
4343 L1GasPriceSTRK * felt.Felt `cbor:"gaspricestrk"`
44- // Amount of STRK charged per Gas spent on L2
44+ // L1 data availability mode for this block (CALLDATA or BLOB)
4545 L1DAMode L1DAMode
4646 // The gas price for L1 data availability
4747 L1DataGasPrice * GasPrice
48- L2GasPrice * GasPrice
48+ // The gas price for L2 execution
49+ L2GasPrice * GasPrice
4950}
5051
5152type L1DAMode uint
0 commit comments