Change Chain
  • Change Chain
  • Introduction
    • Introduction
    • Key Features
  • Architecture
    • Overview
    • Consensus
    • Transaction Processing
      • Transaction Lifecycle
      • High Throughput Mechanisms
    • Network Layers
    • Interoperability
    • Technical Specifications
  • Mining
    • Mining
      • Setting Up a Mining Node
      • Solo Miner
      • Pool Mining
      • System Requirements
      • Installation
      • Troubleshooting
    • Backup and Restore
    • Gas Model
    • Mining Rewards
    • Tokenomics
  • Ecosystem
    • Ecosystem Components
      • Wallets
      • Explorer
      • Governance
    • Change Chain vs. Layer 2
  • Roadmap
    • Roadmap
  • FAQ
    • FAQ
  • Developer Resources
    • Incentives and Support
    • Development Tools
      • CLI
      • Debugging Tools
      • Testing Framework
    • SDKs
    • Developing Smart Contracts
Powered by GitBook
On this page
  • Dynamic Gas Pricing:
  • Transaction Fees
  • Transaction Fee Calculation
  • With EIP-1559 Style Fee Mechanism:
  • Fee Distribution:
  1. Mining

Gas Model

PreviousBackup and RestoreNextMining Rewards

Last updated 7 months ago

Dynamic Gas Pricing:

  • Gas prices adjust based on network congestion.

  • EIP-1559 Style Fee Mechanism:

    • Introduces a base fee that adjusts per block, with an optional priority fee (tip) to incentivize miners.

Transaction Fees

Transaction Fee Calculation

Equation:

TransactionFee=GasUsed×GasPriceTransaction Fee=Gas Used×Gas PriceTransactionFee=GasUsed×GasPriceTransaction Fee=Gas Used×Gas Price\text{Transaction Fee} = \text{Gas Used} \times \text{Gas Price}Transaction Fee=Gas Used×Gas PriceTransactionFee=GasUsed×GasPriceTransaction Fee=Gas Used×Gas PriceTransactionFee=GasUsed×GasPrice

With EIP-1559 Style Fee Mechanism:

TotalFee=(GasUsed×BaseFee)+TipTotal Fee=(Gas Used×Base Fee)+TipTotalFee=(GasUsed×BaseFee)+TipTotal Fee=(Gas Used×Base Fee)+Tip\text{Total Fee} = (\text{Gas Used} \times \text{Base Fee}) + \text{Tip}Total Fee=(Gas Used×Base Fee)+TipTotalFee=(GasUsed×BaseFee)+TipTotal Fee=(Gas Used×Base Fee)+TipTotalFee=(GasUsed×BaseFee)+Tip

Explanation:

  • Gas Used: The amount of computational work required.

  • Gas Price: The price per unit of gas, adjusted dynamically.

  • Base Fee: The minimum fee per gas unit, burned to reduce supply.

  • Tip: An additional fee paid to miners as an incentive.

  • Users pay gas fees calculated as Gas Used × Gas Price.

  • Fees are deducted from the sender's account upon transaction execution.

Fee Distribution:

  • Base Fee Burn:

    • A portion of the base fee is burned (removed from circulation), potentially reducing total supply over time.

  • Miner Incentives:

    • Miners receive the priority fee (tip) and a portion of the base fee as an incentive.