Gas
Last updated
Last updated
In the blockchain terms, gas refers to the unit that measures the amount of computational effort required to execute specific operations on that particular blockchain network. Since each transaction requires computational resources to execute, the validate must be incentivized for their contribution.
The gas fee in Rupto blockchain is paid in native token RPT. Gas prices are denoted in gwei, which itself is a denomination of RPT- each gwei is equal to 0.000000001 RPT. The formula to count gas is: gas units (limit) x (base fee + tip). This can be calculated as 21,000 x (100 + 10) = 2,310,000 gwei, or 0.00231 RPT.
The below figure gives a brief explanation on the structure of gas fee on Rupto blockchain, which is similar to Ethereum as Rupto is inheriting the EVM functionality.
Gas fees help keep the blockchain network secure which mainly keeps spam transactions away. By requiring a fee for every computation executed on the network, It prevents bad actors from spamming the network. To avoid accidental or intentional loops of transactions or other computational wastage in code, each transaction is required to set a limit on how many computational steps of code execution it can use.