Failed does not mean nothing happened
Many beginners are surprised when a failed onchain transaction still costs gas. The reason is that blockchains usually charge for the resources used to attempt execution, verification, and inclusion, not for whether the user got the desired result.
On Ethereum, the official gas and fees documentation explains that gas measures the computational effort required to execute operations. A transaction can fail because of slippage, contract rules, insufficient balance, or expired deadlines, but the network may still have done work and used block space.
Common failure causes
| Cause | Scenario | How to reduce risk |
|---|---|---|
| Slippage too low | DEX price moves quickly | Understand slippage; do not blindly raise it |
| Deadline expired | Congestion or queued transaction | Use a reasonable deadline |
| Insufficient balance | No native token for gas | Keep native gas token in wallet |
| Contract rejection | Approval, allowlist, or rule failure | Read project/contract instructions |
| Nonce issue | Pending transactions stuck | Check pending transactions |
Why wallets need native gas tokens
On Ethereum, ETH usually pays gas. On other EVM chains, the chain’s native token may be required. Holding USDC does not mean you can pay gas. Many users bridge assets and then cannot move them because they forgot to keep native gas tokens.
Pre-transaction checklist
- Are you on the chain you think you are on?
- Do you have enough native token for gas?
- Does the DEX trade have reasonable slippage and deadline settings?
- Does the contract require approval first?
- Is a pending transaction blocking your nonce?
Check Yourself
Why can a failed onchain transaction still cost gas?
Suggested answer: Because the network already spent computation and block space trying to execute and verify it. Gas is not a success fee.
Further reading: Ethereum Gas and Fees · Ethereum Transactions · Etherscan Gas Tracker · Uniswap Slippage
Get the pre-trade checklist.
We are turning these guides into a searchable checklist for checking terms, rules and risk before you trade.
