Why did my transaction fail?
Every on-chain failure is one of a handful of causes — a contract check that did not pass, a budget that ran out, a balance that was short, or a signature that went stale. This guide maps all of them per chain, with the fix for each.
Scope: blockchain transactions only (Solana, EVM chains, Bitcoin, TRON). If you are looking for a declined PayPal, card or bank transfer, this page will not help — payment-service failures have completely different causes.
Decode my failed transaction →First: is it actually a failure?
Three situations look like failures but are not, and misreading them wastes the most time:
- An expired blockhash (Solana). The transaction was signed but never landed in a block, so it does not exist on chain and no funds moved. BlockhashNotFound explained →
- A wallet simulation warning. Most wallets simulate before submitting. The scary red text is a prediction of what would happen, not a recorded result. If the signature is not found on chain, nothing happened.
- "Transaction not found." Either it was submitted seconds ago, it expired before landing, or it happened on a testnet. Wait, then retry — or open the hash in an explorer.
Why Solana transactions fail
Solana transactions are atomic: if any instruction fails, everything rolls back and only the fee is kept. The four dominant causes:
- Slippage on a swap. The price moved past your limit, so the router cancelled instead of filling at a worse rate — the single most common swap failure. 0x1771 explained →
- Not enough SOL for fees or rent. The fee payer needs SOL for the base fee, priority fee, and rent for any account created mid-transaction. InsufficientFundsForFee → · rent variant →
- Token account problems. The account is frozen by the issuer, does not exist yet, or holds less than the amount being moved. frozen → · not initialized → · short balance →
- A program's own custom error. DeFi programs number their own errors, and the same code means different things on different programs — decoding against the wrong program gives a confidently wrong answer. How custom codes work → Other common ones: AccountInUse under congestion, duplicate signature, compute budget exceeded.
Browse all of them in the Solana error library.
Why Ethereum, Base, Arbitrum, OP, Polygon and BNB Chain transactions fail
A revert always prints a reason — if your wallet hides it, the raw receipt still has it. The causes worth knowing:
- The contract's own check failed — a generic
execution revertedwith no message, or a custom error likePanic(0x11)from an arithmetic overflow. execution reverted → · Solidity panics → · custom errors → - The budget ran out. Either you attached too little gas for a heavy swap, or the transaction was below the block's minimum. out of gas → · intrinsic gas too low →
- ERC-20 rules. Transfers fail when the allowance to the spender is short or the balance is short — the token contract itself rejects, not the chain. allowance → · balance → · safeTransfer failed →
- DEX protections. Swaps revert when the price moved past your slippage limit or the quote got too old. slippage → · deadline expired → · paused contract →
- Account state. The paying account lacks ETH for gas, or the nonce was already used. insufficient funds → · nonce too low → · replacement underpriced →
The full list lives in the EVM revert library.
Why Bitcoin transactions "fail"
Bitcoin has no on-chain failure: once mined, a transaction is final. What users call a failure is one of three states:
- Stuck in the mempool because the fee rate is below what miners are taking right now. Stuck fee diagnosis →
- Dropped by nodes after sitting too long with a low fee rate. Dropped transaction →
- Replaced by an RBF re-send — a higher-fee copy of the same transaction took its place. RBF replacement →
All three live in the Bitcoin troubleshooting library.
Why TRON transactions fail
TRON writes the outcome into the receipt, and the fee is charged in every case:
- OUT_OF_ENERGY — the VM ran out of budget mid-call; common with USDT transfers when the account holds no staked TRX. OUT_OF_ENERGY →
- REVERT — the contract aborted itself after a check failed. REVERT →
- FAIL — a generic VM-level failure. FAIL →
Details in the TRON error library.
The five-minute diagnosis routine
- Confirm it exists on chain. Search the hash in a block explorer. Not found = nothing happened; retry.
- Find the failing instruction or revert reason. Exploders hide it; the decoder on the home page surfaces it from the raw receipt.
- Match the code to the program that raised it. The same numeric code means different things on different programs — this is where most explanations go wrong.
- Apply the fix specific to that cause. Raise slippage, top up SOL/ETH, approve the token, recreate the account, or wait out a congestion window.
- Retry once, and stop if the same error repeats. A repeating identical error means the fix was wrong, not that the network is flaky.
Frequently asked questions
Why did my transaction fail?
If it is an on-chain transaction, the failure is one of a handful of causes: a smart-contract check that did not pass (revert or custom program error), a budget that ran out (gas on EVM, energy on TRON, compute units on Solana), a balance or allowance that was short, a stale signature window (blockhash or nonce), or — on Bitcoin — a fee rate too low to confirm. Paste your txid into the decoder on the home page to see which one applies to your transaction.
Is this guide about PayPal or bank payments?
No. This page is strictly about blockchain transactions — Solana, EVM chains (Ethereum, Base, Arbitrum, OP Mainnet, Polygon, BNB Chain), Bitcoin and TRON. Payment-service declines (cards, PayPal, Wise) are a different topic with different causes.
My transaction failed — did I lose my money?
Almost never. A failed on-chain transaction is rolled back atomically, so token balances end where they started. You still pay the network fee (usually a fraction of a dollar) because validators processed the transaction before it failed. On Bitcoin, an unconfirmed transaction either sits in the mempool or was dropped — the coins never left your wallet.
How do I know which instruction failed?
Every failed transaction carries evidence. On Solana the receipt names the failing instruction index and the program: e.g. "Program JUP6… failed: custom program error: 0x1771". On EVM chains the receipt has a status field and often a revert reason string. On TRON the receipt says OUT_OF_ENERGY, REVERT or FAIL. Paste the hash into the decoder and it extracts that line for you.
The transaction says failed but I see no error message — why?
Wallets often shorten the reason to a generic "transaction failed". Open the raw receipt in a block explorer or paste the hash into the decoder to get the underlying code. The visible message and the underlying cause frequently differ — a wallet shows "failed" while the actual cause is a slippage limit or a frozen token account.
Can a failed transaction be retried for free?
Not exactly. Re-submitting costs a new fee, but the failed attempt never moved your tokens. If the failure was a blockhash expiry on Solana or a nonce issue on EVM, a plain retry usually succeeds with no other change.