Fees on the Ethereum Blockchain

Ethereum is a decentralized, open-source blockchain that is best known for its native cryptocurrency, ETH.

Whether sending tokens, interacting with a contract, or sending ETH or ERC20 tokens on the Ethereum blockchain, there is a fee called ‘gas’ associated with every transaction. This transaction fee is paid only in ETH, which acts as the fuel for the entire Ethereum blockchain (and why it’s referred to as gas). You can see your transaction fee in ETH and USD when you search for your transaction on a block explorer like Etherscan or EthVM.

Gas fees are crucial to maintaining the Ethereum network because they are paid to the remote miners who are mining the transactions, putting them into blocks, and securing the blockchain. The transaction fee depends on the overall volume of Ethereum traffic at the time of transaction initiation. The higher the network congestion – the higher the gas fees. MEW offers several automatic settings for gas fees. Choose a higher fee setting for faster transaction processing.

Please keep in mind that the transaction fee is required regardless of whether your transaction succeeds or fails. Even if it fails, the miners must validate and execute your transaction, which takes computational power. You must pay for that computation just like you would pay for a successful transaction.

If your transaction fails, it usually is due to the gas fee being set incorrectly. That’s why MEW calculates gas fees for users automatically to make sure that transactions have the best chance of being processed quickly.


Need Gas?

Our partners allow MEW users to securely buy ETH directly from the MEW wallet app and on MEW web. You'll just need to click where you see 'Buy ETH' and use your card to complete the process.

For MEW wallet uses specifically, users can click on the Gas tracker icon to check the most current gas fees. The Gas tracker icon is located at the top of your MEW wallet dashboard. It looks like a mini gas pump. If you don't have enough ETH, you can click 'Buy Ether' to replenish your wallet.

Issues with ETH purchases can be addressed directly through our provider, Simplex, at support@simplex.com.

Need help buying ETH? Check out the ‘Buy ETH’ article for the platform you're using (iOS, web, or Android).


How Gas Works

As mentioned, the transaction fees are completely dependent on the volume of traffic at the time of initiation. The fee itself is the total cost of the transaction, which is simply the Gas limit * Gas price (the units of gas required by the smart contract * price per unit of gas). Units of gas depend on how many smart contracts are used and their complexity. That’s why just sending ETH requires less gas than swapping tokens or minting an NFT.

When completing a transaction, the transaction fee is already calculated for you. The fee is based on the minimum base fee plus the miner tips which can be added on top of the base fee for faster processing.

MEW offers 3 options:

  • Normal priority: processes within 15 minutes

  • Higher priority: processes within 5 minutes

  • Highest priority: processes within 2 minutes

Higher priority means more miner tip is added on top of base fee. Depending on how fast you intend to have the transaction process will determine which speed to use. If the transaction is time-sensitive, you'll most likely need to use a higher priority which would cost you a little more than the lower priorities. If you're not in a hurry, 'Normal priority' could work and your transaction will be mined at a later time.


Advanced Gas settings

This section is recommended for Advanced users ONLY and is where these users can manually enter a Gas limit along with data (optional) for their transaction. However, this isn't recommended if you're unsure about what you're doing. Entering the wrong information could result in your transaction failing or getting stuck, so proceed with caution.


Diving Deeper into Gas calculations

The gas limit is called the limit because it’s the maximum amount of units of gas you are willing to spend on a transaction. This avoids situations where there is an error somewhere in a contract, and you end up spending 1 ETH, then 10 ETH, and then 1000 ETH, going in circles but arriving nowhere.

You can think of the gas limit as the total amount of liters/gallons/units of gas a car can hold. You can think of the gas price as the cost of that liter/gallon/unit of gas.

  • With a car, it’s dollars (price) per gallon (unit).

  • With Ethereum, it’s GWEI (price) per gas (unit).

The units of gas necessary for a transaction are already defined by how much smart contract code is executed on the blockchain. If the gas limit is set too low, the transaction will fail, and if the gas price is set too low, the transaction can be stuck pending for an indefinite amount of time.

You can use our tool to calculate GWEI <-> WEI <-> USD here, which can be helpful when you want to know your transaction fee in ETH, rather than GWEI.


FAQ's

Gas fees are too high for me. What can I do?

Transaction fees are calculated based on the volume of traffic at the time you’re trying to complete the transaction. Ethereum’s growing popularity can lead to high traffic volumes, which can temporarily raise the fees.

Here are some options for you:

  1. Send the transaction with ‘Normal Priority’ if you’re not in a hurry. The transaction will be mined at a later time and it’s cheaper this way.

  2. Wait and try to complete the transaction at a later time. The fees fluctuate over time so you can always return later to see if the fees have reduced.

  3. Consider using the Polygon or BSC networks (available on MEW web) to avoid congestion and save money on the fees. For more information, please see the ‘Change networks’ article on our Help center.

Will 'High priority' transaction fees be mined faster?

When miners mine a block, they get to decide which transactions to include. They can choose to include no transactions, or they can choose to randomly select transactions. In order to encourage miners to include your transactions in a block, you want to set a priority that is high enough to make them want to include it (since it is entirely up to them).

Most miners follow a very simple strategy for inclusion. They include transactions they received sorted from highest paid priority to the lowest, then include them until either the block is full, or they reach one that has a priority set lower than they are willing to bother with.

If you are in a hurry, choose the highest priority, so that you jump ahead of everyone in line. If you're not in a hurry, then you can set it for 'Normal' priority and it will eventually process.

Why would I want to set a 'Normal Priority' for my transaction fee?

Because it’s cheaper. Also with the increasing price of ETH (compared to USD) and the increased volume of traffic on the blockchain, transaction fees have been pretty high lately. Therefore, if you're not in a hurry then 'Normal priority' should work just fine.

Where can I find the most current Gas prices?

Start here, atEtherscan’s Gas Tracker. Here, you can see the current base fee and approximate fees, in USD, for popular types of transactions.

What happens to the transaction fee if it fails?

Even if a transaction fails, the miners still have to validate and execute the transaction in order for it to reach the 'Failed' status. That process still needs to be paid for, just like it would be paid for a successful transaction.


~ If you haven't already, feel free to check us out on Twitter and Reddit ~

Tags:

mewwalletios, mewwalletandroid, whatis, gas

Did this answer your question?