Skynet CertiK Light
Search Icon
Skynet CertiK User
quest-image
Back
Web3 Fundamentals
What happens when a transaction fails on-chain
Not all blockchain transactions succeed. Some fail due to insufficient gas, reverted smart contract logic, or unmet execution conditions. When a transaction fails on-chain, state changes are rolled back, but certain costs—such as gas fees—may still be incurred. Understanding how and why transactions fail helps users avoid unnecessary losses, debug contract interactions, and interpret on-chain activity more accurately. This quest explains what happens behind the scenes when a transaction fails and how different blockchains handle failure.
Rewards
Share
10+
5 Gems
25 XP
Steps
Read and Learn
Take the Quiz
0/4
Share and Earn More
Gems!
Each friend's quest completion will earn you extra gems!
Login to invite and earn Gems.
OR