You multiply the gas used on an OP Mainnet receipt by its effective gas price and get less than the explorer’s total. Before assuming the wallet added a markup, check what you just calculated. That multiplication measures execution on the rollup. The rollup also pays to make transaction data available through Ethereum.
Rebuild one fee in ETH
Take a hypothetical receipt with 80,000 units of execution gas at 0.02 gwei each. Multiplying and converting gwei to ETH gives 0.00000160 ETH. Suppose the same receipt reports an L1 data charge of 0.00000400 ETH and a zero operator component. The total is 0.00000560 ETH. A wallet showing that total has already included the three components. Adding the data fee to the wallet total would count it twice.
Two swaps using similar execution gas can have different data costs. The bytes needed to represent the transaction and conditions on Ethereum affect the data component. The value of the tokens being swapped is a poor shortcut for either. Optimism documents the available fee components and how they depend on the active network upgrade. OP Mainnet fee documentation
Which number belongs in a comparison?
For a completed swap, record the chain, hash and actual total paid. For a proposed swap, label the wallet estimate with its observation time. Use the same currency conversion for competing quotes. An exchange withdrawal charge is set by the exchange and may differ from what its sending address ultimately paid.
A useful cross-check is to run just the execution line through the Ethereum gas worksheet. Any additional charge should then be traceable to a named component. OP Mainnet’s rules apply to this example. Other rollups can expose different fields, so carrying the same spreadsheet headings to another chain requires checking that chain’s documentation.
Copy the receipt into three rows
| Receipt item | Amount |
|---|---|
| L2 execution, 80,000 × 0.02 gwei | 1,600 gwei |
| L1 data fee | 4,000 gwei |
| Operator fee in this example | 0 gwei |
| Total network fee | 5,600 gwei |
If the fee still looks too high, check the units first. A receipt field in wei must be divided by one billion to compare it with a row in gwei. Next check whether you copied the effective price paid or the maximum price the wallet authorized. Finally, use the L1 fee for that specific transaction. Multiplying the L2 gas used by Ethereum’s gas price mixes quantities from different networks.
A blank field deserves a second look. Zero in the worked example is an assumption. If your explorer omits a component and the displayed total still differs, record the unexplained difference and inspect the detailed receipt. An unexplained remainder alone does not establish an operator charge.
