Mahima Thacker pfp
Mahima Thacker
@mahimathacker
Ever wondered how gas fees are calculated in Ethereum transactions? Let's simplify it with a real example and some formulas! In this post, I'll be explaining the concept with the help of a random transaction on the Ethereum network. In Ethereum, gas fees are determined by:
1 reply
0 recast
0 reaction

Mahima Thacker pfp
Mahima Thacker
@mahimathacker
Gas Limit & Usage by Txn: Gas Limit is the maximum amount of gas a user is willing to spend on a transaction, while Gas Usage by TXN is the actual amount of gas used to execute the transaction.
1 reply
0 recast
0 reaction

Mahima Thacker pfp
Mahima Thacker
@mahimathacker
The number 21,000 is the standard Gas Limit for a simple Ethereum transaction, such as transferring ETH. This number can change for more complex transactions, like interacting with smart contracts, as they require more computational work.
1 reply
0 recast
0 reaction

Mahima Thacker pfp
Mahima Thacker
@mahimathacker
Gas Price: The amount of Ether the sender is willing to pay per unit of gas.
1 reply
0 recast
0 reaction

Mahima Thacker pfp
Mahima Thacker
@mahimathacker
The formula to Compute the Transaction Fee is 👇 - Gas Limit and Gas Usage by Txn * Gas price Gwei/ 1 billion = Ethers Units - Gas Limit and Gas Usage by Txn * Gas price Gwei / 1 billion * price of ether = Gas fees in dollars
1 reply
0 recast
0 reaction