Introduction
Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.
I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.
I also build and publish a variety of tools, libraries, and open-source projects.
ACP-83 proposes a fee mechanism for the P-Chain and X-Chain that automatically adjusts fee rates for different types of resource usage, including network traffic, database reads and writes, and signature verification. It separates base fees from priority fees and uses the latter to prioritize transaction inclusion during congestion.
This article translates, summarizes, and expands on the proposal linked below, as discussed in the original article published on September 20, 2025.
I also cover a range of EIPs, BIPs, SLIPs, CAIPs, ENSIPs, RFCs, and ACPs in other articles.
Overview
ACP-83 introduces a dynamic, multidimensional fee mechanism for Avalanche's P-Chain and X-Chain.
Dynamic fees rise and fall automatically in response to network utilization. Fees increase when demand causes congestion and decrease when capacity is available, helping maintain chain stability.
Multidimensional fees account for different network resources independently and calculate fees accordingly. Examples include the following resources.
| Resource | Description |
|---|---|
| Bandwidth | The amount of data transmitted across the network when propagating transactions and blocks |
| State (ChainState) | The load associated with storing and updating on-chain state |
| Read/write throughput (Read/WriteThroughput) | The volume of operations involved in reading and writing state |
| CPU | The computation involved in executing transactions and smart contracts |
Measuring and pricing these resources separately prevents high demand for one resource from unnecessarily affecting the cost of others, allowing resources to be allocated more efficiently.
Fees are also divided into two components.
- Base fee The appropriate price for each resource, calculated by the network for each block.
- Priority fee The amount paid in excess of the base fee. This additional amount is burned and serves as a signal for prioritizing transaction inclusion.
Motivation
At the time covered by the proposal, the P-Chain and X-Chain used fixed fees, which were in some cases set to zero. Fixed fees are predictable, but their prices do not change when the network becomes congested. They are therefore insufficient as a mechanism for maintaining stability under heavy load.
The C-Chain, in contrast, already uses dynamic fees, which help maintain stability even when demand is concentrated. The proposal aims to improve the stability and resilience of Avalanche as a whole by introducing a similar mechanism to the P-Chain and X-Chain.
Rather than adopting the same single-dimensional adjustment mechanism as the C-Chain, however, ACP-83 introduces multidimensional fees. Each resource has an independently configured fee rate, which is updated exponentially based on its utilization. This approach is already used in Avalanche's HyperSDK, and academic research has also demonstrated its efficiency.
Finally, separating the base fee from the priority fee combines fair pricing based on resource consumption with the ability for users to prioritize their transactions.
Specification
Components of the fee mechanism
Four resource dimensions are defined to represent transaction complexity. Each reflects a different processing cost.
| Dimension | Description |
|---|---|
| Bandwidth | Transaction size in bytes, measured using AvalancheGo's codec. It represents the amount of data required to propagate the transaction across the network. |
| Reads | The number of database reads required to verify a transaction, including reads of UTXOs and related state. |
| Writes | The number of database writes required after transaction verification, including the creation of new UTXOs and state updates. |
| Compute | The number of signatures to verify, including signatures associated with UTXOs and those authorizing particular operations. |
The following quantities are defined for these dimensions.
-
Fee rate The price denominated in AVAX per unit of complexity in each dimension.
-
Base fee The minimum fee required for a transaction to be accepted. It is expressed as follows.
- Priority fee An optional amount paid in addition to the base fee. This amount is burned and serves as a signal for prioritizing inclusion in a block.
How dynamic fee rates are updated
Fee rates are not fixed; they vary according to network utilization. Each block can introduce additional load. Congestion increases when the transactions in a block are more complex or when blocks are produced at shorter intervals.
The design has two objectives.
- Increase fees quickly when load increases.
- Decrease fees quickly when load decreases.
The benchmark is the Target Complexity Rate (). It represents an ideal processing rate of units of block complexity per second. Exceeding this rate indicates congestion and causes fees to increase.
Accumulated excess complexity and update equations
An accumulated excess complexity value is maintained independently for each resource dimension. It is updated based on the time between blocks and the load introduced over that interval.
-
Current block
- Timestamp
- Accumulated excess complexity
-
New block
- Timestamp of the new block
- Complexity of the new block
The fee rate is then defined as follows.
- The fee rate applied to the new block .
- The minimum fee rate. The rate never falls below this value.
- The accumulated excess complexity up to the preceding block. It measures how much excess processing load previous blocks have accumulated.
- The complexity allowance over the elapsed time. A longer interval between blocks gives the network more time to absorb the load.
- The excess complexity remaining after accounting for elapsed time. It is bounded below by zero.
- A normalization constant. It controls how much excess complexity is required to increase the fee rate.
When the network has sufficient capacity (), the numerator is zero and the fee rate reaches .
When the network is overloaded (), the fee rate increases exponentially, signaling to users that transactions require higher fees during congestion.
After the new block is accepted, accumulated excess complexity is updated as follows.
- Minimum fee rate
- Target complexity rate
- Normalization constant
- The updated accumulated excess complexity after the new block.
- The accumulated excess complexity at the previous point in time.
- The amount of complexity that the network could have processed in the time between blocks. Subtracting this amount accounts for the reduction in accumulated load over time.
- The remaining excess complexity, bounded below by zero.
- The processing load introduced by the new block (transaction complexity). This amount is added to update the accumulated value.
Longer block intervals allow accumulated load to decrease over time. A computationally heavy new block increases accumulated excess complexity by the corresponding amount. As that value grows, the fee rate increases exponentially according to the preceding equation.
What the update equations achieve
The mechanism ensures the following behavior.
- Fee rates rise when blocks introduce heavy processing loads or are produced in rapid succession.
- Fee rates fall toward their minimum values when blocks are lightweight or produced at longer intervals.
Because the parameters (, , ) can be configured independently for each resource dimension, each dimension can be tuned to its own requirements.
Block verification rules
Activating dynamic fees changes how blocks are processed. There are two specific changes.
| Rule | Description |
|---|---|
| Block complexity limit | A maximum block complexity (Max) is defined for each resource dimension. A block is valid only if its complexity is no greater than . |
| Transaction fee verification | When verifying each transaction, the node checks whether it can pay at least the required base fee. Both the base fee and any additional priority fee are burned. |
These rules invalidate excessively complex blocks and ensure that only transactions paying the required fees are processed.
User experience
How do wallets estimate fees?
AvalancheGo nodes provide new APIs that expose current fee rates and the rates expected for the next block. Because rates can change from one block to the next, wallets use this information to calculate transaction fees and select the UTXOs used for payment.
AvalancheGo also provides a struct called fees.Calculator, which wallets and related projects can use to calculate fees.
How can wallets increase fees and resubmit transactions?
The design allows a wallet to simply resubmit a transaction. In the AvalancheGo implementation discussed in the proposal, transactions already in the mempool are dropped if their fees fall below the latest required rates.
- A transaction is initially considered valid when it enters the mempool.
- Just before it is included in the next block, it is verified again against the latest requirements.
- If its fee is insufficient at that point, the transaction is dropped. The wallet can resubmit it with a higher fee.
Paying a larger priority fee also provides a buffer that can keep a transaction valid even if the required fee rates increase slightly. By contrast, transactions paying only the base fee are likely to become invalid as soon as the required rates rise.
How do priority fees speed up block inclusion?
AvalancheGo's mempool is redesigned to order transactions according to the amount of priority fee paid. This ensures that transactions paying priority fees are included earlier, provided doing so does not violate dependencies, such as those involving the same UTXO.
In other words, a user who pays a higher priority fee increases the likelihood of faster transaction processing.
Compatibility
Switching the P-Chain and X-Chain to the new fee mechanism requires a mandatory activation upgrade. After the upgrade, both fee calculation and API behavior change, requiring wallets to be updated to support the new mechanism. Wallets that are not updated may encounter inconsistent behavior when estimating fees or resubmitting transactions.
Reference implementation
The implementation is divided across several pull requests and issues. Progress and discussion can be tracked at the following URLs.
| Target | Tracking URL |
|---|---|
| P-Chain | https://github.com/ava-labs/avalanchego/issues/2707 |
| X-Chain | https://github.com/ava-labs/avalanchego/issues/2708 |
A key implementation task is tuning the update equation parameters appropriately for every combination of chain and resource dimension (Bandwidth/Reads/Writes/Compute).
Tuning the update equations
The general approach is to measure the complexity of previously accepted blocks and derive the parameters from those measurements. Historical data is collected in the following repository.
For this discussion, details specific to the P-Chain, such as proposal blocks, are left aside. They are assumed to be accounted for individually when processing historical data.
| Parameter | Configuration approach |
|---|---|
| Target block complexity rate | Aggregate the complexity distribution of existing blocks and select a sufficiently high quantile. |
| Maximum block complexity | This is the most difficult parameter to set. Historically, some large transactions referenced more than 1,000 UTXOs. Setting the limit high enough to always accommodate such extreme cases would make it effectively meaningless. However, UTXO consolidation should remain possible and encouraged, so setting it too low is also undesirable. The recommended procedure is as follows.1) Determine the target complexity rate using the preceding approach.2) Calculate the median elapsed time between consecutive blocks.3) Multiply by the median from step 2 to obtain an approximate target block complexity.4) Set to approximately 50 times that target. |
| Normalization constant | Identify the largest historical peak (the interval with the greatest sustained complexity over a short period) and tune the parameter so that the fee rate increases by approximately 10,000 times at that peak. The intended scale ranges from milli-AVAX under normal conditions to tens of AVAX at peak demand. |
| Minimum fee rate | Set this rate close to the existing fixed fees so that the cost of normal usage does not change abruptly. |
Security
The new fee mechanism is expected to improve network stability by providing an economic incentive to refrain from submitting transactions under heavy load. Fees generally remain low under normal conditions. If load suddenly increases (blocks become fuller), the dynamic fee algorithm continues raising fee rates to discourage additional demand until the load decreases.
Load is reduced primarily through two mechanisms.
- Dropping pending transactions with insufficient fees Transactions in the mempool are removed once their fees no longer meet the requirements.
- Users postponing transaction submission Users seeking to minimize costs are more likely to delay submission until fee rates decrease.
Research also shows that the exponential fee update mechanism described above is robust against strategic behavior in which users deliberately wait for fees to fall sufficiently and then submit a large number of transactions at once (source: https://ethresear.ch/t/multidimensional-eip-1559/11651). This property makes it more difficult to maintain persistent network-wide congestion through such strategies.
Conclusion
This article covered ACP-83, which proposes a fee mechanism for the P-Chain and X-Chain that automatically adjusts fee rates for network traffic, database reads and writes, and signature verification. It separates base fees from priority fees and uses priority fees to determine transaction inclusion order during congestion. I hope it helped clarify how the mechanism works.
If you have questions, feel free to reach out via Twitter DMs.
I also share my work on the following sites.


