Simplified transaction flow

Last edit


The key stages of transaction lifetime are:

  1. The sequencer selects a transaction from the mempool and calls the __validate__ function.

  2. If the transaction is valid, the sequencer calls the __execute__ function.

  3. If __execute__ runs successfully, the sequencer includes the transaction in the block, charges the fee, and proceeds to work on the next transaction.

  4. After completing the block, the sequencer sends the block to the prover.

The payment mechanism

The sequencer receives fees in ETH in return for including transactions in a block.

For more details on how the transaction fee is computed, see Gas and transaction fees.