Gas Fees & Transaction Types in MetaMask

Try Tangem secure wallet →

Gas Fees & Transaction Types in MetaMask

Table of contents


How EIP-1559 works in MetaMask

EIP-1559 changed how gas is priced on Ethereum and EVM-compatible networks. It split fees into a network-set base fee (burned) and a user-set priority fee (tip). MetaMask exposes that split in its UI: you see a suggested Max Fee and a Max Priority Fee (the tip). Type-2 transactions (EIP-1559) are standard on modern networks; legacy transactions still exist on older chains.

Quick example: if the base fee is 50 gwei and you set a 2 gwei priority fee, your transaction needs a max fee that covers both. MetaMask suggests values for you, but you can override them.

This is where the keyword matters: gas fees metamask are a mix of the chain's base fee and the priority fees MetaMask asks you to set. Priority fees MetaMask suggests will usually get your tx mined faster during congestion. I believe the UI balances convenience with control — but don't expect magic.

(That screenshot is illustrative — check the app for exact labels.)

Transaction types MetaMask handles

MetaMask supports a range of transaction types you'll run into when using DeFi:

What about account abstraction and smart-contract wallets? MetaMask can connect to smart-contract accounts via injected or WalletConnect flows, but some account-abstraction transactions (meta-transactions) require the contract wallet to create or sponsor fees. That can produce errors like "transaction type not supported metamask" if the RPC or chain expects a different format. When you see that, try updating MetaMask, switching to the chain's recommended RPC, or using the wallet provider that supports the smart contract account implementation.

For more on connecting to dApps and the mobile in-app browser, see Connect to dApps and WalletConnect and mobile browser.

Why gas estimation accuracy varies

Gas estimation attempts to predict how much gas a transaction will use. MetaMask asks the node for an estimate (eth_estimateGas) and layers on fee-history data to recommend EIP-1559 values. But estimates can be wrong. Why?

In my experience, complex swaps and approvals are where gas estimation accuracy drops the most. If the UI shows 100k gas and the tx actually needs 200k, you'll pay for the gas used (up to your gas limit) and the tx can fail if the gas limit is too low.

If you need deeper checks, simulate the transaction on a block explorer or use an external simulator (tools exist outside MetaMask). See transaction-error-debugging if a transaction fails.

How to set gas and priority fees (step-by-step)

Desktop (extension):

  1. Build the transaction (send, swap, contract call).
  2. Before confirming, click the gas fee area where it shows "Edit".
  3. Choose a preset (slow / market / fast) or open Advanced.
  4. In Advanced you can set Max Priority Fee (tip) and Max Fee (cap). You can also set Gas Limit if you know it.
  5. Save and confirm.

Mobile (app):

  1. Tap to confirm a transaction.
  2. Tap "Edit" under Estimated fee.
  3. Choose speed or tap Advanced to set priority and max fee.
  4. Save and confirm.

Speed up vs Cancel: if a transaction is stuck, use "Speed Up" to resend the same nonce with higher fees. Use "Cancel" to send a 0 ETH tx with the same nonce to replace it. Success depends on miners/validators taking the replacement.

And yes, when using the built-in swap you should still set slippage and gas independently (set slippage and gas). See Built-in swap for swap-specific tips.

If a transaction remains pending, check stuck-pending-transactions.

L2 gas savings and cross-chain differences

Layer 2 networks offer lower per-transaction gas fees, but they aren't the same as L1 gas. Some rollups bill in the same token (ETH) with much lower numbers; others use side tokens. MetaMask can connect to L2 networks either by adding the network or using a preset. The key point: L2 gas savings are real for repetitive on-chain activity, but bridging on/off the L2 will often eat more than a few L1 transactions.

If you interact with Optimism or Arbitrum, add the network using Add Optimism/Arbitrum or follow the general Layer2 guide.

Gas optimization tactics for daily DeFi users

What I've found: small habits save money. I set lower priority fees for wallet maintenance tasks and higher for time-sensitive buys.

Common errors and quick fixes

If the extension behaves oddly, try extension-troubleshooting or reconnect a hardware wallet (Connect Ledger).

Who MetaMask suits — and who should look elsewhere

Who MetaMask is for:

Who should look elsewhere:

FAQ

Q: Is it safe to keep crypto in a hot wallet?

A: Hot wallets are for daily use. I store small trading and staking balances there. For large sums, move to hardware or cold storage. If you're unsure, read backup and recovery options.

Q: How do I revoke token approvals?

A: Use the revocation tool in the wallet or a third-party revoke tool. Each revoke is an on-chain tx (gas needed). See Revoke approvals for detailed steps.

Q: What happens if I lose my phone?

A: Recover with your seed phrase on a new install. If you did not back up the seed phrase, access is lost. Don’t store the seed phrase in cloud screenshots. See backup and recovery options.

Conclusion & next steps

MetaMask gives you control over gas fees (EIP-1559 fields and priority fees MetaMask surfaces) and supports the transaction types you'll hit in DeFi. Gas estimation accuracy can vary — be ready to adjust Max Fee and Gas Limit for complex contract calls. Use L2s for repeated activity and always protect approvals.

If you want hands-on setup help, follow the Install mobile or Install extension guides. For problems that refuse to die, check transaction-troubleshooting and stuck-pending-transactions.

But remember: control comes with responsibility. Keep backups, revoke approvals you don’t need, and match gas strategy to how urgently you need the transaction mined.

Try Tangem secure wallet →