Configure Transaction Fees
Learn how to configure your blockchain gas fees.
Alright, let's get to configuring our gas fees. When prompted select Customize fee config.
Chain Parameters
Enter the basic parameters of your L1, such as the EVM chain ID.
Permissions
By design, blockchain networks are fully permissionless, allowing anyone to transact and deploy smart contracts. However, certain use cases require permissioning to control who can participate in transactions or deploy contracts. On Avalanche, permissioning is an optional feature for Layer 1 blockchains that may or may not be activated, depending on the network's needs.
Tokenomics
Tokenomics in Layer 1 blockchains on the Avalanche network are highly flexible, allowing developers to tailor economic models to their specific needs. Each L1 can define its own native token, specifying its initial allocation, distribution mechanism, and whether it should be mintable for ongoing issuance. This enables a wide range of economic designs, from fixed-supply tokens to inflationary models that support network sustainability.
Transaction Fees & Gas
In addition to the native token, you can also configure the transaction fees (also known as gas fees). This allows Avalanche L1s to define the desired or maximal throughput of the blockchain differently.
Fee Configuration Parameters
Maximum gas per block (8M-100M)
Target time between blocks (1-120s)
Minimum base fee in gwei (≥1 gwei)
Controls fee adjustment rate (≥2)
Minimum block gas cost (≥0)
Maximum block gas cost (≥ Min Block Gas Cost)
Step size for block gas cost changes (≥0)
Target gas per block (500K-200M)
These parameters control how transaction fees are calculated and adjusted. Adjust with caution.
Dynamic Fee Parameters
If you want to dynamically adjust the transaction fee parameters above without a hard-fork, you can optionally activate this precompile. The permission for dynamically adjusting the fees as well as granting and revoking other addresses these permissions can be granted to an EOR or a smart contract.
Dynamic Reward Parameters
The transaction fees can be either burned, given to the block building validator or sent to a smart contract. The permission for dynamically adjusting the reward mechanism as well as granting and revoking other addresses these permissions can be granted to an EOR or a smart contract.
Is this guide helpful?