LogoLogo
  • Getting Started
    • Vanar
      • 🌐Overview
      • 🪙$VANRY Token
      • 🏛️The Vanar Foundation
    • Why Vanar?
      • 💡Our Philosophy
      • 🌍Green Chain
      • 🚀Fixed Fees
      • ⁉️Why L1?
      • 🏅Why Choose Vanar
      • ⭐Proof of Reputation
    • Vanar Architecture
      • Protocol Customizations
        • Native Gas Token ($VANRY)
        • Fixed Fees
        • Transaction Ordering
        • Block Rewards
        • Block Time
        • Block Size
      • EVM Compatibility
      • Consensus Mechanism
      • Fixed Fees
        • Gas Fees Tiers
        • How it works
        • Gas Price API
        • Fixed Fees Management
        • $VANRY Token Price API
  • Builders
    • For Developers
      • 🪐Vanar Network Details
      • ☑️Adding Network to Wallet
      • 🔗Connect Wallet to Vanar Chain
      • ⛽Gas Estimation
      • Build with thirdweb
        • Connect
        • Contracts
        • Engine
        • SDKs
      • Tutorials
        • Deploy a Token Contract - ERC20
        • Deploy an NFT Contract - ERC721
        • Deploy a Token Contract - ERC20 (Thirdweb)
        • Deploy an NFT Contract - ERC721 (Thirdweb)
    • Vanguard
      • Explorer
      • Faucet
      • Test $VG
  • Nodes and Validators
    • Staking
      • How To Stake
      • How To Unstake
      • How To Claim Rewards
    • Vanar Nodes
    • Setup a RPC Node
    • Setup a Validator Node
  • Tools
    • GroV
      • Frequently Asked Questions
  • White paper
  • vanarchain.com
Powered by GitBook
On this page
  1. Getting Started
  2. Vanar Architecture
  3. Fixed Fees

How it works

PreviousGas Fees TiersNextGas Price API

The protocol keeps record of the transaction fees for the tier 1 transactions in block headers with the key 'feePerTx'.

In the screenshot below showing details of a block (block number 3,794,620 on testnet) you can see the transaction fees as well that is applicable to the tier 1 transactions (transaction requiring max of 12,000,000 gas). If a transaction falls in any other subsequent tier, then the protocol uses the same transaction fees value and a multiplying factor applicable to the subject tier to know the gas price for the subject transaction. For example for a tier 2 transaction it will be multiplied by 1500 (that is 0.0005 * 1500 = 0.75$ in terms of USD value)

In the screenshot below you can see the exact same fees being charged to a transaction that falls under tier 1. This is is one of the transactions in the same block for which details are shown above.