Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.
20 changes: 19 additions & 1 deletion pages/stack/transactions/fees.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Chain operators can use the [Ecotone fee parameter calculator](https://docs.goog
The L1 Data Fee formula changed with the Fjord upgrade. Refer to the [Network Upgrade Overview](/builders/node-operators/network-upgrades) for network upgrade activation timestamps for OP Sepolia and OP Mainnet.
</Callout>

The pricing function changes with Fjord upgrade because of the FastLZ compression estimator, which more accurately charges for L1 data usage on a per transaction basis.
The pricing function changes with Fjord upgrade because of the FastLZ compression estimator, which more accurately charges for L1 data usage on a per transaction basis.
Comment thread
krofax marked this conversation as resolved.
Outdated
The updated function uses the following parameters:

* The FastLZ-compressed size of the signed transaction.
Expand All @@ -199,3 +199,21 @@ l1Cost = estimatedSizeScaled * l1FeeScaled / 1e12
```

The new cost function takes into account the compression ratio, so chain operators will need to adjust their `baseFeeScalar` and `blobFeeScalar` to account for any previous compression ratios that they encountered on their chains. Chain operators can use the [Fjord fee parameter calculator](https://docs.google.com/spreadsheets/d/1V3CWpeUzXv5Iopw8lBSS8tWoSzyR4PDDwV9cu2kKOrs/edit#gid=186414307) to get a better estimate of scalar values to use for your chain.

## Sequencer Fee Vault

The **Sequencer Fee Vault** is responsible for collecting and holding transaction fees paid to the sequencer during the processing and production of blocks on OP Mainnet. These fees are used to cover the cost of posting transaction data to Ethereum Layer 1 (L1), ensuring that the network remains sustainable and that data availability is maintained.
Comment thread
krofax marked this conversation as resolved.
Outdated

Comment thread
krofax marked this conversation as resolved.
### Fee Collection and Distribution
* **Purpose**: The sequencer deposits collected fees into the Sequencer Fee Vault. These fees reimburse the sequencer for gas costs when submitting transaction batches to L1.
* **Vault Address**: The Sequencer Fee Vault is predeployed at the address `0x4200000000000000000000000000000000000011` on the OP Mainnet.
* **Fee Usage**: Stored fees are eventually transferred to a designated recipient address (e.g., a treasury or distribution contract).
Comment thread
krofax marked this conversation as resolved.


### How it Works

1. **Fee Collection**: During the processing of transactions, the sequencer collects fees from users as part of their transaction costs. These fees are primarily used to cover the gas expenses of posting transaction data to Ethereum L1.
2. **Storage**: Collected fees are deposited into the Sequencer Fee Vault contract.
3. **Distribution**: The fees are later distributed to the appropriate recipient, typically to cover operational costs like gas fees for data availability on L1.

This system ensures that fees are managed effectively, helping to keep the Optimism network secure and operational.
Comment thread
krofax marked this conversation as resolved.
Outdated