Skip to main content

Why Was I Charged a Network Fee for a Failed Transaction?

Why a Failed Transaction Can Still Cost a Fee​

A transaction can fail after the blockchain has accepted it for processing. Validators may verify the signature, execute instructions or smart-contract code, and record the result before determining that the requested action cannot complete.

The network charges for that work. The intended transfer, swap, approval, or contract change may be rolled back, while the processing fee remains paid to the network.

note

Gem Wallet does not keep blockchain network fees. They are determined by the network and paid to its miners, validators, or fee mechanism.

Check Whether the Attempt Reached the Blockchain​

Use the existing failed or reverted transaction. Do not submit another transaction to reproduce the fee.

  1. Open the affected asset in Gem Wallet.
  2. Select the transaction from the activity list.
  3. Check whether the status is Failed or Reverted.
  4. Review the Fee shown in transaction details.
  5. Select View on explorer name.
  6. Match the transaction ID, sender, network, status, and fee with the explorer.

If the explorer contains the transaction in a block and shows gas, energy, compute, or another resource was consumed, the network processed the attempt and can charge a fee.

Failed Before Submission vs Failed On-Chain​

The point of failure determines whether a blockchain fee is normally possible:

ResultPublic transaction IDIncluded on-chainNetwork fee
Rejected before broadcastUsually noneNoNormally no blockchain fee
Broadcast but still pendingYesNot finalFee is not final yet
Failed or reverted on-chainYesYesA processing fee can be charged
SuccessfulYesYesThe normal network fee is charged

A wallet, dApp, or provider may display its own error before a blockchain transaction exists. In that case, verify that there is no transaction ID and no matching explorer record before concluding that an on-chain fee was charged.

How the Final Fee Is Determined​

Fee calculation depends on the blockchain. On EVM networks, the confirmed receipt can include the amount of gas actually used and the effective gas price. Some Layer 2 networks can also include an additional L1 data fee.

Conceptually:

network fee = resources consumed Γ— effective resource price + applicable network components

The amount reserved or estimated before confirmation can differ from the final amount charged. Use the confirmed explorer receipt and Gem Wallet transaction details rather than the initial estimate.

Other networks use different terms and formulas, such as energy, bandwidth, compute units, or protocol-defined fees. The same principle applies: a validator can charge for processing work even when the requested operation does not succeed.

Why the Full Fee Limit Was Not Necessarily Charged​

On gas-based networks, a gas limit is the maximum execution allowance, not always the exact amount spent. The final fee normally reflects the resources the network reports as consumed, subject to that network's rules.

A reverted transaction may stop early and use less than its limit, or it may consume most or all of the available execution resources. Compare the explorer's actual usage and effective price with the fee shown by Gem Wallet.

Was the Transfer Amount Also Charged?​

A reverted smart-contract transaction normally rolls back its intended state changes, but the network fee remains. Verify this on the explorer:

  1. Check the transaction's native and token balance changes.
  2. Review emitted token transfers or events.
  3. Confirm the recipient and contract addresses.
  4. Compare the wallet's current balance after refreshing.

Do not assume every multi-step operation behaved the same way. A swap or cross-chain action can involve more than one transaction, and one completed step may exist even if a later step failed. Record all related transaction IDs before retrying.

Can Gem Wallet Refund the Fee?​

Gem Wallet cannot reverse or refund a fee charged by the blockchain. Once a failed or reverted transaction is included, the fee belongs to the network's processing mechanism rather than Gem Wallet.

A dApp or swap provider may have a separate refund policy for its service or assets, but that does not make the blockchain fee refundable. Verify any provider refund using its official status page and public transactions.

Avoid Paying Another Failure Fee​

Before trying again:

  • Read the explorer's error or revert reason.
  • Confirm the correct wallet, asset, network, contract, and recipient.
  • Keep enough native coin for both the action and its fee.
  • Wait for related pending transactions to finish.
  • Request a fresh swap quote or dApp transaction.
  • Verify token allowances, amounts, slippage, and deadlines.
  • Do not assume that selecting a higher fee fixes contract logic.

Follow Why Was My Crypto Transaction Reverted? to identify the underlying failure before submitting another attempt.

If the Fee Looks Incorrect​

  1. Confirm that Gem Wallet and the explorer show the same transaction ID.
  2. Verify that you opened the explorer for the correct network.
  3. Compare the fee asset and amount, not its changing fiat value.
  4. Check whether the explorer lists additional network-specific fee components.
  5. Refresh the asset and transaction details in Gem Wallet.

If the confirmed explorer fee and Gem Wallet fee still differ, open Settings > Support and provide the public transaction ID, network, app version, and redacted screenshots. Never provide your Secret Phrase or private key.

Failed Transaction Fee Checklist​

  • Find the transaction ID in Gem Wallet.
  • Confirm that the explorer recorded the transaction on-chain.
  • Match the failed or reverted status.
  • Compare the final fee and actual resource usage.
  • Check asset changes separately from the network fee.
  • Identify and correct the failure before retrying.
  • Never pay a person or website offering to recover a network fee.

For general fee requirements, see What Are Network Fees?.