Skip to main content

Fee Model (EIP-1559)

Basalt implements the EIP-1559 dynamic fee model, where the base fee adjusts automatically based on network demand. This mechanism provides more predictable transaction pricing, eliminates first-price auction inefficiencies, and introduces deflationary pressure through fee burning.

Network Parameters

ParameterMainnetTestnetDevnet
Initial Base Fee1 gwei0.1 gwei1 wei
Base Fee Change Denominator888
Elasticity Multiplier222
Block Gas Limit100,000,000100,000,000100,000,000
Target Gas Usage50,000,00050,000,00050,000,000

The target gas usage is half the block gas limit (determined by the elasticity multiplier of 2). Blocks can temporarily exceed the target up to the full block gas limit, but doing so causes the base fee to increase.

Base Fee Adjustment

The base fee adjusts after every block based on how the actual gas usage compares to the target:

  • If gas used exceeds the target, the base fee increases.
  • If gas used is below the target, the base fee decreases.
  • The maximum change per block is 12.5% (1/8 of the current base fee), governed by the change denominator.

Formula

newBaseFee = baseFee + baseFee * (gasUsed - targetGas) / targetGas / denominator

Where:

  • baseFee is the current block's base fee
  • gasUsed is the actual gas consumed in the current block
  • targetGas is the target gas usage (50,000,000)
  • denominator is the base fee change denominator (8)

Examples

Given a current base fee of 100 gwei:

Block Gas UsedUtilizationBase Fee ChangeNew Base Fee
50,000,000100% of targetNo change100 gwei
100,000,000200% of target+12.5%112.5 gwei
75,000,000150% of target+6.25%106.25 gwei
25,000,00050% of target-6.25%93.75 gwei
00% of target-12.5%87.5 gwei

Over sustained periods of high demand, the base fee increases exponentially, naturally throttling demand. During low-activity periods, the base fee decreases to its floor.

Transaction Types

Legacy Transactions

Legacy transactions specify a single GasPrice field. The effective gas price is the GasPrice value itself. Legacy transactions are accepted as long as GasPrice >= BaseFee.

EIP-1559 Transactions

EIP-1559 transactions specify two fee parameters:

FieldDescription
MaxFeePerGasThe absolute maximum the sender is willing to pay per unit of gas
MaxPriorityFeePerGasThe maximum tip the sender is willing to pay the block proposer

The effective gas price is calculated as:

effectiveGasPrice = min(MaxFeePerGas, BaseFee + MaxPriorityFeePerGas)

This ensures the sender never pays more than MaxFeePerGas, even if the base fee increases between submission and inclusion.

Fee Distribution

Transaction fees are split into two components:

ComponentDestinationEffect
Base feeBurned (destroyed)Deflationary pressure on BSLT supply
Priority fee (tip)Block proposerIncentivizes validators to include transactions

The base fee burn removes BSLT from circulation with every transaction, creating a deflationary mechanism that counterbalances new token issuance from staking rewards. During periods of high network activity, the burn rate can exceed the issuance rate, making BSLT net-deflationary.

Gas Cost Schedule

OperationGas CostDescription
Transfer21,000Native BSLT transfer between accounts
Contract Deploy500,000Deploy compiled contract bytecode
Contract Call50,000Base cost for invoking a contract method
DEX Operations30,000 -- 120,000Variable cost depending on operation complexity

DEX operation costs vary by type:

  • Limit order placement: lower end of the range
  • Batch auction settlement: higher end, due to multi-party matching
  • Liquidity provision with concentrated ranges: mid-range, includes tick boundary calculations

All gas costs are denominated in gas units. The actual BSLT cost is determined by multiplying the gas consumed by the effective gas price.