Vine Docs
  • Overview
    • What is Vine?
    • Layer 0 Architecture
    • Key Features
    • Network Components
  • Core Concepts
    • Layer 0 Protocol Design
    • Architecture Design
    • Node Architecture
    • Parachains
    • EVM & WASM Support
    • Nominated Proof of Stake (NPoS)
    • How NPoS Works
    • Vine Coin (VNE) and Governance
    • Transaction Fees
  • Validators
    • Who are Validators?
    • Validator Node Types
    • Validator's Guide
      • Step 1 - Validator dApp
      • Step 2 - Dashboard
      • Step 3 - Validator Setup
      • Step 4 - Validators Page
    • Manage Account
    • Validator Node Setup
      • Validator System Requirements
      • Guidelines & Precautions
  • Nominators
    • Who are Nominators?
    • Nominator dApp
    • Becoming a Nominator
      • Step 1 - Login
      • Step 2 - Dashboard
      • Step 3 - Validators Page
      • Step 4 - Nominate Validators
    • Manage Account
  • Staking, Slashing & Chilling
    • Staking
    • Slashing Guide
    • Chilling
  • Parallel Chains
    • Overview
    • Block Parameters
    • Substrate Framework-Based
    • Asset Movement
    • Pros and Cons
    • Interoperability
    • Application-Specific Parallel Chains
  • Vine RPC Calls
    • Overview
    • RPC Calls
      • Author
      • Babe
      • Beefy
      • Chain
      • childstate
      • contracts
      • dev
      • engine
      • grandpa
      • mmr
      • offchain
      • payment
      • rpc
      • state
      • syncstate
      • system
  • Vine Explorer
    • Overview
    • How to Use
      • Dashboard
      • Transaction Details
      • Block Details
      • Telemetry
      • Map View
      • Globe View
      • TPS History
      • Vine Testnet Faucet
      • Token Module
      • Contracts
  • Zen Wallet
    • Overview
    • How to Use
      • Create Account
      • Account Login
      • Dashboard
      • Balance
      • Statements
      • Send
      • Keys
      • Swap
      • Balance
      • Multisig Login
        • How To
        • Balance
        • Send
  • Additional Resources
    • Glossary
      • Blockchain
      • Node
      • Validator Node
      • Full Node
      • Validators
      • Nominators
      • Mnemonics
      • Stake
      • Slashing
      • Chilling
      • Parallel Chain
      • Era
      • Uptime
      • APY
      • Waiting State of Validator
      • Active State of Validator
      • Inactive State of Validator
      • Non-Custodial Wallet
      • Custodial Wallet
      • Points
Powered by GitBook
On this page
  • Understanding Fees in WASM
  • Understanding Fees in EVM
  1. Core Concepts

Transaction Fees

Fees are computational costs incurred to keep blockchains running. Vine provides dual compatibility for WASM and EVM and have a different protocol for each system.

  • Understanding Fees in WASM

  • Understanding Fees in EVM

Understanding Fees in WASM

Transaction fees are charged to cover the computational costs incurred by the Vine Chain network. The transaction fee contributes to the security of the Vine Chain network and is used to prevent bad actors from spamming the network by levying a fee for each computation conducted on it.

Calculation formula = base_fee + length_fee + [targeted_fee_adjustment * weight_fee]

This includes:

  • Base fees This is the minimum amount a user pays for a transaction. It is declared as a base weight in the runtime and converted to a fee using Weight To Fee.

  • Weight fees A fee proportional to the amount of weight a transaction consumes.

  • Length fees A fee proportional to the encoded length of the transaction.

  • Targeted fees adjustment This is a multiplier that can tune the final fee based on the congestion of the network.


Understanding Fees in EVM

To conduct a transaction on the Vine EVM machine, users are required to pay a transaction fee, also known as gas fee.

From a technical perspective, gas is the unit of measurement for the total amount of computational effort needed to perform particular operations on the Vine network. The payment of the gas fee is made through Vine, the native currency of Vine. It is denoted in Vine Coins.

The gas fee also contributes towards Vine network security by charging a fee for every computation performed on the network, which prevents bad actors from spamming the network.

Gas Price Calculation = gasPrice * gasAmount/10^18

PreviousVine Coin (VNE) and GovernanceNextWho are Validators?

Last updated 3 months ago