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 →
Step 0

First: is it actually a failure?

Three situations look like failures but are not, and misreading them wastes the most time:

Solana

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:

Browse all of them in the Solana error library.

EVM chains

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 full list lives in the EVM revert library.

Bitcoin

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:

All three live in the Bitcoin troubleshooting library.

TRON

Why TRON transactions fail

TRON writes the outcome into the receipt, and the fee is charged in every case:

Details in the TRON error library.

Playbook

The five-minute diagnosis routine

  1. Confirm it exists on chain. Search the hash in a block explorer. Not found = nothing happened; retry.
  2. Find the failing instruction or revert reason. Exploders hide it; the decoder on the home page surfaces it from the raw receipt.
  3. 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.
  4. 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.
  5. Retry once, and stop if the same error repeats. A repeating identical error means the fix was wrong, not that the network is flaky.
FAQ

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.