Skip to content

Guides

Solana transaction landing: from signed bytes to confirmation

A signed transaction has to reach the current leader, get into its block and be confirmed by the cluster. This guide follows each step and shows where staked connections, fees, tips and blockhash expiry come in.

Updated

Leaders and QUIC

Solana assigns block production to leaders according to a schedule. The leader schedule maps validator identities to their slot indices within an epoch, so a sender can identify upcoming recipients before their turns begin. Sending only to the leader you observed when constructing the transaction risks arriving after its turn has ended. Agave's sending client tracks leader addresses and can open connections before those leaders' turns.

The validator's transaction entry point is the Transaction Processing Unit (TPU). Its QUIC TPU port is a different endpoint from an RPC server's HTTPS address. Reaching that port begins validator processing. Confirmation comes later: the validator still verifies signatures, checks the transaction's structure and lifetime, validates fees, loads accounts, and executes instructions. Block data follows a separate path, described in the Solana shreds guide.

RPC acceptance and preflight

Calling sendTransaction on a Solana RPC submits signed bytes for forwarding. The returned value is the transaction's first signature, which you can also extract before sending. A successful response means the RPC accepted the request. It does not mean a leader received the transaction or that the cluster confirmed it.

The RPC reference defines maxRetries as the maximum number of retries forwarding to the leader. Without it, the documented behavior is to retry until finalization or blockhash expiry. Setting it to zero disables those retries. Service configuration can limit retry behavior: Agave has a bounded retry pool. When that pool fills, it broadcasts new entries once without adding them to the pool.

Default preflight verifies signatures and simulates against the state at preflightCommitment, returning an error if those checks fail. Simulation can catch invalid instructions before submission, but it does not reserve account state for later execution. Set the simulation commitment deliberately; skipPreflight bypasses these checks, not the validator's checks.

Stake-weighted intake

Solana's stake-weighted QoS guide calls this an implementation feature for Sybil resistance. Leaders identify traffic proxied through staked validators and allocate weighted access to their intake. Agave distinguishes staked and unstaked QUIC peers, with separate connection limits. Unstaked connections do not receive the same stake-weighted allocation. The validator client, release, and configuration determine capacity shares and limits.

Ordinary RPC nodes are unstaked and non-voting. The official guide describes trusted validator and RPC peering that assigns the RPC identity virtual stake for inbound TPU traffic. Both sides require configuration. Delegating SOL to an RPC server is not the mechanism. This changes access to the leader, while compute budgets, scheduling, and program execution remain separate checks. A staked connection cannot make an expired or invalid transaction executable.

Priority fees and tips

A priority fee influences the leader's transaction scheduling. For legacy and v0 transactions, the compute unit price is in micro-lamports per CU and the compute unit limit caps execution work. The fee in lamports is ceil(price * limit / 1,000,000). The fee depends on the requested limit, regardless of how much compute execution consumes. Estimate the limit from your workload instead of raising it indiscriminately. The v1 format sets an absolute priority fee in its message configuration.

Block-engine tips are a separate payment mechanism. Jito's documentation describes bundles competing in auctions on tips paid to validators, with selection considering requested compute. A minimum qualifying tip does not guarantee winning the auction. Priority fees and engine tips address different selection stages; neither guarantees delivery, successful execution, or a particular position in a block.

Solana deducts network fees before execution, so an instruction failure can still cost the base and priority fees. An in-transaction tip transfer follows transaction execution: if instructions fail, that transfer rolls back. Keep these costs separate when comparing failed sends with failed executions.

Missing and failed transactions

Solana checks blockhash expiry separately from sender timeouts. Its pipeline reference gives MAX_PROCESSING_AGE as 150. Agave counts age from zero, so ages zero through 150 qualify: a window of 151 recent blockhashes. This window has no fixed wall-clock duration and does not restart when you send. Retain the lastValidBlockHeight returned with the blockhash you actually signed, then track block height rather than guessing from elapsed seconds. Durable nonce transactions have a different lifetime.

ObservationWhat to investigate
Accepted, signature absentDropped before the leader, refused at intake, exhausted retries, expiry, or the read RPC view. Acceptance cannot identify the cause.
Blockhash rejectedAn expired hash or a hash absent from the validator view. BlockhashNotFound alone does not prove elapsed-time expiry.
On-chain errorRead the execution error and instruction index. Reaching a block did not mean the application action succeeded.
AlreadyProcessedLook up the original signature. Duplicate rejection is different from failure of the original transaction.

Validators reject already-processed transactions through their status cache. Resending identical signed bytes does not create another action. Rebuilding with a new blockhash creates a new signed transaction and can repeat the action. Check the original outcome before replacing it, especially after a timeout that may have hidden a successful submission.

Confirming the signature

Poll getSignatureStatuses through your own read RPC, or subscribe to signature notifications there. Inspect both err and confirmationStatus. Check that an error-free transaction also reaches your required commitment. A null status means the RPC did not find it in the searched view; use searchTransactionHistory when you need more than the recent status cache.

processed reflects the node's processed fork, which can change. confirmed means at least two-thirds of active stake has directly voted to confirm the slot. finalized is the strongest commitment, reflecting maximum vote lockout and recognition by a supermajority of stake. Record execution success separately from commitment.

Once block height passes lastValidBlockHeight, the transaction cannot newly execute with that recent blockhash. Check whether it already landed before building a replacement. For SWQoS, the confirmation and retries documentation provides a read-RPC polling example and distinguishes expiry from a lost reply.

ZeroCopy send path

ZeroCopy SWQoS forwards accepted transactions once to upcoming leaders over stake-weighted QUIC, preserving the signed bytes. It may also use the leader's block engine: Jito (BAM), Harmonic, Everstake, GBX and Jito (DBI). Routes depend on upcoming leaders and configuration; the response does not identify the path. The routing documentation separates leader delivery from block-engine delivery.

SWQoS is send-only. Obtain blockhashes and confirm signatures through a separate RPC. It does not periodically resend accepted transactions. The application owns confirmation and any later resubmission.

The default minimum tip is 0.001 SOL per key; a key's configured minimum may differ. Discover a live account with getTipAccounts before building the transfer. With an in-transaction transfer, the tip is paid only when execution succeeds. There is no subscription or per-send fee. See pricing and the tip rules for payment details.

Submit a signed transaction with Solana Kit

import {
  createSolanaRpc,
  getBase64EncodedWireTransaction,
  type Transaction,
} from '@solana/kit'

export async function sendSignedTransaction(apiKey: string, transaction: Transaction) {
  const rpc = createSolanaRpc('https://sol.zerocopy.sh', {
    headers: { 'x-api-key': apiKey },
  })
  return rpc.sendTransaction(getBase64EncodedWireTransaction(transaction), {
    encoding: 'base64',
    skipPreflight: true,
  }).send()
}

The SWQoS quickstart uses this request to skip simulation. The console records transaction outcome, paths, block-engine answers, slots to land, and edge time between receipt and forwarding. Those records can distinguish an engine refusal from an on-chain error, but cannot explain every miss. Records are best effort, and a successful outcome does not identify which sender delivered the transaction.

Measuring a landing run

Record each signature, blockhash lifetime, construction and send times, acknowledgment, execution error, observed commitment, and landed slot. Keep metro, transport, transaction type, CU settings, priority fee, tip, and retry policy with the run. Measure sender response time separately from time until your read RPC observes confirmation.

Publish the date, measurement window, sample size, workload, and confirmation method with any landing number. Count refusals, failures, expirations, and unresolved signatures separately. Allow the last submissions time to resolve instead of declaring every pending signature a miss at the cutoff. If several senders receive identical bytes, a chain result cannot attribute delivery to one of them. See the trading infrastructure guide for measurements of the data and read-RPC paths.

Sources

Start in the console

Create a team to get an SWQoS key, and request Shredstream receivers from the same console.