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
Last updated