Skip to main content

What is Gas and its Consumption?

U
Written by UKey Wallet

Definition: Gas is a unit that measures the computational effort (like processing and storage) required to execute a transaction on Ethereum.

Key Rules:

  • Gas Limit : The maximum amount of "fuel" you are willing to pay for a transaction. If it's too low, the transaction fails mid-way; however, the fee is still charged because miners have already performed the work.

  • Refunds : If the actual Gas consumed is less than your set limit, the excess is automatically credited back to your wallet.

  • Miner Incentives : The higher the price you are willing to pay per unit of Gas (Gas Price), the more likely miners are to prioritize and process your transaction quickly.

Did this answer your question?