Why did I pay gas fees for a failed transaction?

 

This is not a fee that MetaMask receives so we cannot refund it. This fee is paid to miners or validators for finalizing transactions, validating them into blocks, and securing the blockchain.

The Ethereum network requires gas to execute transactions. When you send tokens, interact with a contract, send ETH, or do anything else on the blockchain, you must pay for that computation. That payment is calculated in gas, and gas is always paid in ETH.

You are paying for the computation, 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.

There are a few other error examples that you could encounter during the transaction failure: 

A Dropped and Replaced transaction, which means the transaction was dropped and replaced by a new one. Please see more information about a dropped and replaced transaction here: https://info.etherscan.com/transaction-dropped-replaced/

Out of gas is an error that occurs when the gas limit was set too low. Please read the below article for a better understanding of the gas limit: https://ethgasstation.info/blog/gas-limit/

You can retry the transaction, but this time please use the advanced settings to set the gas limit to a higher value (try something like 60000). You can also refer to this article to learn more about this Out of gas error and the other alternatives on how to fix it.

Was this article helpful?
51 out of 182 found this helpful

Articles in this section

MetaMask Support on Twitter
Beware of scam Twitter accounts. Never give anyone your Secret Recovery Phrase!
MetaMask YouTube
Fow how-to and support videos please visit our channel