Skip to content
RPC reference

Solana confirmation and blockhash expiry: what a missing status means

By MassLauncher · Updated · 3 min read

A missing signature status tells you what one RPC node found. To decide whether the original transaction could still land, you also need the validity height of the blockhash it used.

Save the height that belongs to the signed message

For a recent-blockhash transaction, keep the signature and the blockhash and lastValidBlockHeight returned together by getLatestBlockhash. A later call gives a new pair; its height cannot date the original message. Poll getSignatureStatuses for the signature and compare getBlockHeight at a consistent commitment with the original last valid height. A slot number is not a block height.

Read commitment and execution separately

Decisions for an ordinary recent-blockhash transaction
ObservationWhat to do
Status is null; height at or below last valid heightThe node has no status yet. Keep checking the same signature.
Processed; err is nullThis node saw execution. Wait for the commitment you require.
Confirmed; err is nullThe transaction has a supermajority vote. Wait for finalized if your workflow requires it.
Finalized; err is nullRecord success at finalized commitment; verify any specific account effect separately.
A status has a non-null errRead the execution error and its commitment. Do not count this observation as a success.
Status is null; height above last valid heightThe old hash has expired for new inclusion. Search history and reconcile the intended effect before signing again.

A worked expiry boundary

Suppose lastValidBlockHeight is 450000. At height 450000 the expiry test is still false; at 450001 it is true. A signature can turn up in history after that point because the transaction landed earlier. Ask getSignatureStatuses with searchTransactionHistory: true and use a node with coverage for the relevant period. A missing result on a node with incomplete history leaves the outcome unknown.

Signing a fresh blockhash produces a different transaction that could repeat the original action. Check the expected account change and any existing receipt before doing so. Durable nonce transactions use a different validity rule; this height test does not apply to them.

Open MassLauncher

Review your saved coins and launch history in the web app.

Open web app