Simplified transaction flow

The key stages of transaction lifetime are:

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

  2. If the transaction was valid, the __execute__ function is called

  3. If __execute__ ran successfully, the sequencer includes the transaction in the block, charges the fee and proceeds to work on the next transaction (once the block is concluded, it will be sent 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 the fees section