All Collections
General Queries
Why did my transaction fail?
Why did my transaction fail?
Jakov avatar
Written by Jakov
Updated over a week ago

Troubleshooting Transaction Errors on Solflare

This guide addresses common transaction errors you might encounter while using the Solflare wallet. By understanding these issues and following the troubleshooting steps, you can often resolve problems and ensure successful transactions.
โ€‹

1. Insufficient Balance for Transaction Fees:

  • Understanding Solana Network Fees: All transactions on the Solana network incur fees, regardless of the specific action (sending, swapping, staking, etc.). These fees cover the computational resources required to process the transaction on the blockchain.

    • Base Fee: There's a base fee of 0.000005 SOL for all transactions.

    • Variable Fees: Certain transactions may have additional fees depending on the specific action:

      • Swapping: Fees can vary based on your slippage tolerance setting (higher tolerance allows for faster execution but might incur slightly higher fees).

      • Staking: Validators you choose to stake with might have their own fees.

      • Priority fees: Priority fees are an optional add-on to the base fee. Some dapps can choose to set an additional amount to incentivize validators to prioritize their transaction and process it faster.

      • Opening a Token Account: Creating a new token account on the Solana network has a one-time fee of 0.002 SOL.
        โ€‹

  • Recommendation: To avoid transaction failures due to insufficient balance, it's recommended to maintain at least 0.05 SOL in your wallet at all times. This buffer covers base fees and potential additional fees for most transactions.

2. Slow Solana Network:

  • Network Congestion: During periods of high transaction volume, the Solana network might experience slowdowns. This can lead to longer processing times or even failed transactions.

  • Monitoring Network Status: You can also check the official Solana Network Status site (https://status.solana.com/) for real-time updates on network health.

  • No Charges for Failed Transactions: There's no need to worry about being charged for transactions that fail due to network congestion.

3. "Failed to simulate transaction on Mainnet" Error:

  • Complex Transactions: This error typically appears when attempting complex transactions like swaps or adding liquidity to a pool. These actions involve more intricate processes compared to standard transfers and might fail during the simulation phase.

  • Approving the Transaction: Even if the simulation fails, the actual transaction might still be successful. However, it's crucial to trust the website you're interacting with.

    • Verifying Website Reputation: If you encounter this error on an unfamiliar website, thoroughly research its reputation before proceeding. Be cautious of phishing attempts - ensure you're on the legitimate website and not a lookalike with a similar URL.

  • Insufficient Funds for Fees: This error can also indicate insufficient SOL for transaction fees. If you proceed and receive an error message ending in "custom program error: 0x1," it signifies a lack of SOL to cover fees.

  • Maintaining Sufficient Balance: It's recommended to have at least 0.05 SOL in your wallet to ensure smooth transaction processing, accounting for base fees and potential variations depending on the specific transaction type.

Additional Tips:

  • Keeping Solflare Updated: Ensure you're using the latest version of Solflare to benefit from bug fixes and performance improvements.

  • Restarting Solflare: Sometimes, a simple restart of the Solflare application can resolve temporary glitches that might be causing transaction issues.

By following these guidelines and understanding common error messages, you can effectively troubleshoot transaction problems on Solflare and ensure a smooth user experience.

Did this answer your question?