Blocks

A block is a collection of transactions and links to the previous block it extends.

Block Header

The block header in Scroll mirrors the structure of Ethereum’s. However, certain fields in the block header have been modified to accommodate the Layer 2 context, as detailed in the following table:

FieldDescription
parentHashThe hash of the parent block.
uncleHashAlways keccak256(rlp([])).
coinbaseFees are collected to the pre-deployed fee vault contract address 0x5300000000000000000000000000000000000005. In most cases, the RPC return field "miner" is the zero-address 0x0000000000000000000000000000000000000000.
stateRootThe root hash of the state trie. It is the Poseidon
transactionsRoot The root hash of the transaction trie.
receiptsRoot The root hash of the transaction receipts trie.
logsBloomThe data structure containing event logs.
difficultyAlways 1 or 2.
numberThe block number.
gasLimitThe maximum gas allowed in the block.
gasUsedThe gas used in the block.
timestampThe block time.
extraDataSignature by the block’s signer, followed by arbitrary additional data.
mixHashAlways 0.
nonceAlways 0.
baseFeeCurrently empty in Scroll because we haven’t enabled the EIP-1559.

Block Time

Block time refers to the interval between two consecutive blocks. In Scroll, the block time is set at 3s. A reduced block time elevates the user experience and augments the Scroll chain’s scalability.

The 3-second block time is maintained on a best-effort basis, it is not guaranteed or enforced by the protocol.

What's Next

Stay up-to-date on the latest Scroll Developer news
Roadmap updates, virtual and live events, ecosystem opportunities and more
Thank you for subscribing!

Resources

Follow Us