Gas Fees and How They’re Calculated

RgMm...edAn
16 Jan 2024
49


Gas is a unit that measures the computational work needed to put a set of instructions into the network. The whole concept of gas fees is necessary to reduce spam on the network, such as a repeated movement of crypto from one wallet to another and back. These transactions would clog the network, but with gas fees, such transactions couldn’t occur indefinitely. The specific amount of gas varies by the type of instructions in the network but for general transactions, it is measured by the total amount of gas for the transactions times the amount per gas.
There are two main parts to gas fees: the priority fee and the base fee.

  • The base fee is the minimum amount of gas that must be paid and this value is set by the protocol
  • The priority fee is the extra fee that is set by the user. This fee is important because it determines the time it takes for the transaction to be executed.
  • The larger the fee, the more likely a validator would choose to execute the transaction, but the smaller the fee, the longer it would take to get executed, if at all (Note: This system is descriptive of Ethereum; other cryptocurrencies may differ.)

This base fee is calculated based on a formula comparing previous blocks. Additionally, there is a maximum base fee of 112.5% of the current base fee. When setting a fee, users also have the option to set the maximum fee they are willing to pay. This fee is greater than the base fee plus the tip, and the user is then refunded the difference between the maximum fee and the base plus tip fee.
To recap, there are two parts to gas fees: the base fee and the priority fee. The base fee is determined by the protocol, while the priority fee is set by the user. Base fees vary based on the protocol and may increase up to 112.5% of the current base fee. Priority fees determine the speed at which transactions are executed, with a higher fee being faster and a smaller fee being slower.
If you want to learn more, check out the links below:
Gas and Fees
What Are Gas Fees?
Thank You for Reading
If you like this article, consider reading my other articles

Ether Crunch - Medium

Read writing from Ether Crunch on Medium. Every day, Ether Crunch and thousands of other voices read, write, and share…
medium.com


55


Gas Fees
Ethereum
Cryptocurrency
Crypto
Blockchain

55




Follow

Written by Ether Crunch

6 Followers
·
Writer for
Coinmonks
No opinions, just sharing info about Crypto, Ethereum, and Blockchain in general.

More from Ether Crunch and Coinmonks

Ether Crunch
in
Coinmonks
Perspective on “How secure is 256-bit security?”
Many people ponder Bitcoin’s security and how secure it really is. Well, the video “How secure is 256-bit security?" by “3Blue1Brown”…
2 min read
·
Dec 19, 2023

102




Shantanu Gupta
in
Coinmonks
Which Crypto Will Explode in 2024? Here Are Some Of MyTop Picks.
As we approach the end of the year, investors worldwide are gearing up for the anticipated bull run in the crypto market, eyeing the next…
4 min read
·
Dec 19, 2023

607

2



Velvet.Capital
in
Coinmonks
🚨Velvet.Capital Token Distribution (Airdrop)🚨
🚨 Airdrop Alert🚨: DeFi Asset Management Done right! Everything you need to know for Velvet.Capital’s Token Distribution & Airdrop!
4 min read
·
Dec 30, 2022

31K

828



Ether Crunch
in
Coinmonks
AnSmart Contracts
What are Smart Contracts?
4 min read
·
Nov 28, 2023

55



See all from Ether Crunch

See all from Coinmonks

Recommended from Medium

Manta Network
Into the Blue: The Official $MANTA Airdrop
We are thrilled to reveal the Into the Blue Campaign, the official $MANTA airdrop event to ignite the next chapter in the Manta Network…
6 min read
·
Jan 5

1.99K

14



0xAnn
in
Crypto 24/7
What we know about Bitcoin ETFs so far
It’s finally here, so how is the first impression?

·
5 min read
·
3 days ago

92

2


Lists

Modern Marketing52 stories
·
366
 
saves
data science and AI39 stories
·
41
 
saves
My Kind Of Medium (All-Time Faves)58 stories
·
183
 
saves
Generative AI Recommended Reading52 stories
·
618
 
saves
Airdrop X Meta
TOP BEST AIRDROP 2024
- POLYHEDRA
6 min read
·
6 days ago

156




Luo Fi
zkSync Libertas Omnibus Phase 2 Confirmed! Unlock $500,000 Airdrop with This Secret Strategy!
The next bull market is approaching, Are You Ready?
5 min read
·
Dec 28, 2023

1K

12



Crypto Looter | Airdrops-News-NFTs
$458 Million zkSync Airdrop Is Coming SOON - Act Now!
It’s time to loot a Layer-2 sea called zkSync 🏴‍☠️ The Airdrop is coming soon and it’s now or never to set yourself up for succes 🙌
3 min read
·
5 days ago

455

7



Mike Coldman
Top 4 Crypto Gems Set to Explode in 2024 !
Unlock the Secret Strategies of Elite Investors and Transform Your Portfolio Overnight !

·
5 min read
·
Jan 8

109

3


See more recommendations


Write & Read to Earn with BULB

Learn More

Enjoy this blog? Subscribe to fruskurt

2 Comments

B
No comments yet.
Most relevant comments are displayed, so some may have been filtered out.