To land transactions on Solana, a signed transaction must reach the current leader before its blockhash expires, then win a place in the block over everything else that leader has received. The majority of errors fall into one of these four categories: the blockhash timed out, the transaction never reached the leader, it got outbid on priority fees, or it went through and then failed on chain. This checklist outlines the fix for each issue, in the order you would build them.
Details on Solana come from Solana's own documentation and details regarding Apex come from our own Apex documentation. All information was verified on 9 November 2026.
Why Solana transactions fail to land
| Symptom | Usual cause | Fix |
|---|---|---|
Blockhash not found or the transaction silently expires |
The blockhash was stale when you signed, or your retries ran past lastValidBlockHeight |
Fetch the blockhash at confirmed right before signing, and stop at lastValidBlockHeight |
| The send succeeds but nothing appears on chain | The transaction never reached the leader, often stuck in a busy RPC queue | Run your own retry loop, or use a sender that routes straight to the leader |
| It lands in quiet hours but not during spikes | Outbid on priority fee for the accounts you write to | Set a compute unit limit and a compute unit price on every transaction |
| It lands, then shows an error | Execution failed: slippage, a changed account, too few compute units | Simulate first and check the err field on confirmation |
A good sendTransaction response simply means that the node received your message; Solana's docs are clear that the response won’t tell you whether the transaction will be processed.
1. Fetch a fresh blockhash at confirmed commitment
Each transaction carries a recent blockhash, and the network accepts it only while that blockhash is within the last 150 blocks. Solana's docs advise the confirmed commitment for getLatestBlockhash. finalized typically trails confirmed by at least 32 slots, which shortens your transaction's window. processed is the freshest, but it can come from a fork that gets dropped, and a transaction built on such a blockhash can never land.
Get the latest blockhash just before signing and hold the lastValidBlockHeight that came with it, and use the same commitment for preflight as for the fetch. Check our article on Solana commitment levels for the details about the commitment levels.
2. Size the compute budget on every transaction
The leader's scheduler sorts transactions based on the priority fee, and the priority fee is the compute unit price multiplied by the requested compute unit limit. There are two pieces of information from the Compute Budget documents of Solana relevant in this context:
- If not set explicitly, each instruction gets a default of 200,000 compute units, capped at 1,400,000 for the whole transaction. This is far more than most transactions consume.
- You pay priority fee according to the limit you request, so an oversized limit means paying more for the same work, or bidding less per unit than you meant to.
So simulate the transaction on your RPC, note the units consumed, and request a limit about 10 to 20% higher as a buffer. Base the compute unit price on getRecentPrioritizationFees for the accounts your transaction writes to, because contention happens per account, not across the whole network; the priority fee estimation guide covers the maths. Place the ComputeBudget instructions at the start of the transaction.
One special note regarding ComputeBudget configuration: if you use the new Transaction v1 format, ComputeBudget instructions do not perform configuration at all and the limits and priority fee sit in the message config instead, where any limit left unset defaults to zero.
3. Simulate separately, then send
simulateTransaction catches most execution errors before they cost you anything. By default, sendTransaction also runs preflight checks, simulation included, before forwarding. On a hot path that is duplicated effort, so teams often simulate on the side while building the transaction and then send it with skipPreflight: true. In cases when the simulation is not carried out beforehand, the preflight step should not be skipped.
4. Take control of retries
An RPC node by default continues to rebroadcast your transactions to leaders until they are final or until their block hashes expire. During times when the network is under strain, their rebroadcast queues become full and your transactions are queued behind all other transactions. Passing maxRetries: 0 to sendTransaction switches that off and hands retries to you:
const { blockhash, lastValidBlockHeight } =
await connection.getLatestBlockhash("confirmed");
// build, set compute budget, sign...
const raw = tx.serialize();
let height = await connection.getBlockHeight("confirmed");
while (height <= lastValidBlockHeight) {
await connection.sendRawTransaction(raw, { skipPreflight: true, maxRetries: 0 });
await new Promise((r) => setTimeout(r, 500));
height = await connection.getBlockHeight("confirmed");
}
The two rules that make sure that the loop is not vulnerable are these: Reuse the identical signed bytes on every resend; a given signature can execute only once. Hold off on re-signing with a new blockhash until the old one has expired, or you risk both copies landing.
5. Use a faster route to the leader
How a transaction travels matters a great deal for Solana transaction landing. Sent through plain RPC, it rides the RPC node's own link to the leader. There are other channels: stake-weighted quality of service (SWQoS), where staked validators relay your transactions over their connections that enjoy high precedence; Jito bundles via the Jito block engine with a bid; and sends to the leader's TPU over QUIC. Every channel will be optimal under specific situations, and implementing all three of these is hard work.
Apex, the landing service we run, pushes one signed transaction through all three channels and drops duplicates by signature, so it executes once. It does not require any subscription or per-send fees. You add one tip of at least 0.001 SOL to the transaction and pay it only when the transaction lands. Delivery does not guarantee execution. The tip delivers your transaction, and the leader prioritizes according to fees, so steps 1 to 4 still apply. Apex even relays a transaction for you until it lands or the blockhash becomes outdated, so don't resend an accepted transaction in a loop. The Apex best practices cover tip sizing and connection setup.
Distance is important on every channel. Send from a machine near your endpoint. Our network infrastructure guide goes into placement, and our sister brand OrbitServers offers Solana trading servers for this purpose.
6. Confirm every transaction
Poll getSignatureStatuses or subscribe with signatureSubscribe until the status reaches confirmed, then check the err field. A transaction can land and still fail during execution; when that happens through Apex, the tip transfer rolls back with it and you're charged just the network fee. Once block height moves past lastValidBlockHeight there is no point waiting, as the transaction can't land anymore; rebuild it around a new blockhash.
Checklist: land transactions on Solana before you go live
- Blockhash retrieved via
confirmedjust prior to signing, andlastValidBlockHeightkept. - Compute unit limit from simulation plus a buffer, and a compute unit price on every transaction.
- Simulation via independent request;
skipPreflightdone after simulation. - Use
maxRetries: 0and your own resend mechanism, or a landing service that resends on your behalf. - A route that reaches the leader directly, sent from near the endpoint.
- All sends confirmed, with
errchecked and expiry handled.
