Transaction Fees on DogeOS
Overview
DogeOS fees are notably lower than on its supporting layer. For users and developers, transaction fees on DogeOS appear to work similarly to those on Ethereum mainnet, and existing tools, wallets, and code will likely work as if they were. However, the transaction fee shown in the wallet isn’t the whole picture unless the software is specifically aware of DogeOS’s fee calculations.
L2 Fee
Transactions on DogeOS, like on Ethereum, must pay the cost of executing their computations and storing the data they produce.
Calculating the Execution Fee
The L2 execution fee is straightforward:
l2TransactionExecutionFee = l2TransactionGasUsed * l2TransactionGasPrice
The total fee depends on what the transaction does (l2TransactionGasUsed
) as well as the current market conditions (l2TransactionGasPrice
). Users set the gas price, and the “gas used” is assessed by calling the estimateGas
endpoint on a DogeOS node.
In other words, the execution fee is calculated precisely like pre-EIP1559 Ethereum.