Transactions Fees
Understanding transaction fees and their relationship to transaction costs in blockchain networks
Overview
Transaction fees represent the dollar costs of executing operations on blockchain networks. By measuring transaction fees, we can understand the demand for resources on the network and the incentives that drive user behavior. Gas fee calculations are more complex than they may seem at first glance. This is because different networks have different fee structures, and some even have multiple components to their fees. We are aggregating the data from multiple sources to provide a comprehensive view of the fees paid for each network.
You can explore the daily gas fee data via metrics.gas_fees_daily
EVM Networks
For EVM networks, we have developed a unified model to calculate transaction fees consistently across different types of chains. The data is accessible through the gas.fees
table, which standardizes the fee components into l1_fee
, base_fee
, and priority_fee
. This model elegantly unifies the fee structures of rollups, L1s, and L2s, providing a coherent view of gas costs across the EVM ecosystem. However, it’s important to note that the specific fee components and their calculations may vary depending on the unique characteristics and design choices of each network. You can find the fee components for each network below.
Arbitrum uses a custom L1/L2 fee model that ignores priority fees (tips) in calculations and uses effective_gas_price instead of standard gas_price. This helps account for the actual costs of posting data to the L1 chain.
Arbitrum uses a custom L1/L2 fee model that ignores priority fees (tips) in calculations and uses effective_gas_price instead of standard gas_price. This helps account for the actual costs of posting data to the L1 chain.
Avalanche C-Chain uses a standard fee structure with a base fee and an optional priority fee. This allows users to tip validators for faster transaction inclusion.
Base employs a custom L1/L2 fee model with additional L1 data fields. This helps track the costs associated with posting data to the L1 chain for security.
Blast uses a custom L1/L2 fee model with additional L1 data fields. This allows tracking the L1 data posting costs separately from the L2 execution fees.
BNB Chain uses a standard fee structure with a base fee and an optional priority fee. This allows users to incentivize faster transaction processing through tips.
Celo is excluded due to incorrect raw data. If included, it would use a standard fee structure with a base fee and an optional priority fee.
Ethereum uses a custom fee model with additional blob fee data. This helps account for the costs associated with storing large data blobs on the network. Fee components:
Fantom uses a standard fee structure with a base fee and an optional priority fee. This allows users to tip validators for faster transaction inclusion.
Gnosis uses a standard fee structure with a base fee and an optional priority fee. This allows users to incentivize faster transaction processing through tips.
Linea uses a standard fee structure with a base fee and an optional priority fee. This allows users to tip validators for faster transaction inclusion.
Mantle employs a custom L1/L2 fee model with additional L1 data fields. This helps track the costs associated with posting data to the L1 chain for security.
Optimism uses a custom L1/L2 fee model with additional L1 data fields. This allows tracking the L1 data posting costs separately from the L2 execution fees.
Polygon uses a standard fee structure with a base fee and an optional priority fee. This allows users to incentivize faster transaction processing through tips.
Scroll uses a custom L1/L2 fee model with additional L1 data fields. This helps track the costs associated with posting data to the L1 chain for security.
Sei uses a standard fee structure with a base fee and an optional priority fee. This allows users to tip validators for faster transaction inclusion.
Tron uses a simplified fee structure using only gas price and gas used. This
provides a straightforward way to calculate transaction fees. Tron also
subsidizes the fees for transactions, so the fee paid is not necessarily the
actual cost of the transaction. We are correcting for this in the
metrics.gas_fees_daily
table, but not in gas.fees yet. sql tx_fee_raw = gas_used * gas_price
zkEVM uses a standard fee structure with a base fee and an optional priority fee. This allows users to incentivize faster transaction processing through tips.
zkSync uses a simplified fee structure using only gas price and gas used. This provides a straightforward way to calculate transaction fees on the zkSync network.
Zora uses a custom L1/L2 fee model with additional L1 data fields. This helps track the costs associated with posting data to the L1 chain for security.
Non-EVM Networks
For non-EVM networks we haven’t yet found a consistent way to model the fee structure, so we are not yet able to provide a unified model for non-EVM networks. However all the data is included in the metrics.gas_fees_daily
table.
Solana
Solana has two “types” of transactions: transactions and votes. We track the fees for each type separately in gas_solana.tx_fees
and gas_solana.vote_fees
.
Solana uses a custom fee structure with a base fee and an optional prioritization fee for transactions. The base fee is calculated based on the number of signatures required for the transaction, while the prioritization fee depends on the compute unit price and compute budget limit.
This data is standardized in gas_solana.tx_fees
.
Solana uses a custom fee structure with a base fee and an optional prioritization fee for transactions. The base fee is calculated based on the number of signatures required for the transaction, while the prioritization fee depends on the compute unit price and compute budget limit.
This data is standardized in gas_solana.tx_fees
.
In Solana, votes that help the network reach consensus are also considered transactions. The fees are always 0.000005 SOL per vote, which is the base fee for a transaction with one signature.
Vote fees are not included in gas_solana.tx_fees
and are instead included in gas_solana.vote_fees
.
We consider both gas_solana.tx_fees
and gas_solana.vote_fees
when calculating the total transaction fees for solana in metrics.gas_fees_daily
.
Bitcoin
Bitcoin uses a simple fee structure where each transaction has a fee paid to the miner. Miners pick the transactions with the highest fees to include in the next block.
Was this page helpful?