Universe Docs
  • xyzDAO Overview
  • Beginner's Guide to Governance
  • FAQ Walkthroughs
    • How to get $XYZ tokens?
    • How to obtain voting power (stake) in the DAO?
    • How to lock $XYZ to increase voting power?
    • How to delegate voting power (vXYZ)?
    • How to return delegated voting power (vXYZ)?
    • How can I earn rewards from the USDC/XYZ pool?
    • How to withdraw $XYZ from the DAO?
    • How to create a proposal?
    • How to vote on the proposal?
  • DAO Specifications
    • Diamond Standard
    • Thresholds
    • DAO Governance
    • Multiplier and Voting Power
  • Proposals & Voting
    • Proposals
    • Proposals State
    • Warm-Up
    • Abrogation Proposals
    • Voting
  • Token
    • $XYZ Token
    • Token Distribution
    • Air Drop
  • Distribution Programs
    • Yield Farming and LP Incentivization
      • Epochs
    • DAO Staking
    • Airdrops
  • xyzDAO NFTs & Resources
    • Polymorph FAQs
  • Universe Basics
    • Ethereum Basics
      • A Guide to Ethereum & Blockchains
      • What is a Blockchain?
      • Digital Wallets
      • What is ETH?
      • How do I get ETH?
      • What is gas?
      • How can I measure/predict the fees?
    • Marketplace FAQs
      • What are the Marketplace fees?
      • How do I buy an NFT?
      • How do I make an offer for an NFT?
      • How do I list an NFT?
      • How can I cancel my listing?
      • How do I change the price of my listing?
      • How do I accept an offer?
    • Wallet FAQs
      • Do hardware wallets work with Universe XYZ?
      • My transaction is stuck
      • Types of wallets
    • Minting FAQs
      • What is minting?
      • How do I Mint NFTs with Universe XYZ?
      • How do I create Collections on Universe XYZ
      • Where are my NFTs displayed?
      • Are my NFTs on Universe visible on other platforms?
      • Can I mint an NFT without putting it up for sale?
      • Can I sell NFTs minted on Universe on other platforms?
      • What is burning?
      • What is ERC-1155?
      • What is ERC-721?
    • Troubleshooting
      • Basic troubleshooting
      • How do I contact support?
  • Resources
  • Whitepaper
  • Discord
  • Twitter
  • Medium
  • Telegram
  • YouTube
  • GitHub
Powered by GitBook
On this page

Was this helpful?

  1. Universe Basics
  2. Ethereum Basics

What is gas?

PreviousHow do I get ETH?NextHow can I measure/predict the fees?

Last updated 3 years ago

Was this helpful?

“Gas” is Ethereum’s unit measurement for the computational work needed to perform specific operations on the blockchain. The number of units of gas required to execute a given operation is the “gas cost”. Each operation performed by a transaction or smart contract costs a certain amount of gas units. The maximum amount of gas units that you are willing to pay for a transaction is known as the “gas limit”. A simple transfer of , the native cryptocurrency of Ethereum, to another address requires a gas limit of 21,000 units. An ERC20 token transfer will have a higher gas cost. Transactions involving smart contracts often require a higher gas limit, sometimes hundreds of thousands of gas units, since they consist of multiple operations that require more computational work than a simple transfer. “Gas price” is the amount of ETH you are willing to pay per unit of gas for a transaction on the Ethereum network. Gas prices are denoted in a denomination of ETH called gwei, which is equal to 0.000000001 ETH. The total transaction fee is calculated by taking the total gas units used by the transaction multiplied by the gas price. Most digital wallets will calculate an approximate gas fee you should set depending on how fast you want the transaction to be confirmed. You may end up paying a lower gas cost than the estimated fee if the price of gas goes down during your transaction. If the price of gas goes up you may need to speed up your transaction. You can read more about what to do if your transaction is stuck here. Note: Link to ‘My transaction is stuck’ article) The gas price needed to get included in the next block depends on how much demand there is for block space on the Ethereum network at the time. This is because miners typically include transactions sorted by the highest gas price when deciding which transactions to include in the next block. The changing demand can lead to fluctuations in the transaction fees throughout the day. For example: The same transaction involving a smart contract, such as a token swap on a decentralized exchange, that uses 200,000 gas units would cost 0.01 ETH when gwei is at 50 and would cost 0.06 ETH when gwei is at 300.

During peak times some transaction fees can be hundreds of dollars worth of ETH. You can to make transactions when gas prices are at a level you are comfortable with.

For gas tracking resources click .

ether (ETH)
monitor gas prices
here