InfraEvaluation stage⏱ 4 min read

How to Measure Solana Transaction Confirmation Time

Measure the time your client takes to observe a Solana transaction at the commitment level you need. Use the existing signature to diagnose missing history, execution errors,...

Stopwatch beside a glowing network cable
FR
FRB TeamMEV Specialists
Last updated
#solana#rpc#confirmation#latency

Measure Solana transaction confirmation time from your client. Start with a timestamp from the original submission and end with the first observation of that signature at the commitment level you need. A provider's reply to the original request is a separate timestamp. The public transaction signature is enough for the read-only checks below.

Which interval are you measuring

Timestamp What to record What this tells you
Submission started Local time when the client made the original request A common start for client-side observations
RPC acknowledged Local time when the client received the submission response Request and response time as seen by the client
Status first observed Local time when the observer first saw the selected commitment When the application could act on the observed status
Block time, when available The blockTime value returned with transaction details The estimated block production time, at seconds precision

Record elapsed intervals on one client using a monotonic clock. Keep a UTC timestamp alongside them to match logs. A submission acknowledgment indicates that the RPC accepted the request. The transaction still has to reach a block producer and reach the selected commitment. The block time is an estimate for its block, so use submission logs and observation timestamps when you need a client-side interval. Submission acknowledgment · Block time

Check an existing transaction signature

Locate the first signature of the transaction, often shown as its transaction ID. Use the same cluster as the original submission. Query a trusted endpoint and compare with a second endpoint on that cluster if the first result looks incomplete. Use the status lookup with transaction history enabled for an older signature.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getSignatureStatuses",
  "params": [
    ["REPLACE_WITH_EXISTING_BASE58_TRANSACTION_SIGNATURE"],
    {"searchTransactionHistory": true}
  ]
}

Read the first item in result.value. Its confirmationStatus identifies the observed commitment, slot identifies the transaction's recorded slot, and err tells you whether execution failed. The outer context.slot is the context of the response. Keep both values distinct in a log. A response can report a confirmed transaction with an execution error, so record commitment and outcome as separate fields. Signature status response

Result Next read-only check
processed Follow the same signature to the commitment your application requires. An early observation can be on a fork that drops away.
confirmed or finalized with err: null Match the recorded slot and signature to the transaction details if your application needs an audit record.
A non-null err Fetch the transaction details when available and inspect the recorded error. Log the failure separately from the time to see it.
A null status entry Check the cluster, signature, history option, and endpoint history coverage. Record unknown until you have stronger evidence.
HTTP or JSON-RPC error Record the endpoint failure and retain the last good observation. Verify rate limits and provider availability.

For detailed records, call getTransaction at confirmed or finalized and specify the transaction version your client supports. The method can return null at the requested commitment. For an ordinary recent-blockhash transaction whose original validity metadata is available, compare its recorded last valid block height with getBlockHeight at confirmed. If the current height has passed the limit and the signature is still unobserved, record that the original recent blockhash can no longer be used. A later history lookup can still find a transaction that landed before the limit. Durable nonce transactions have their own validity rules. Transaction lookup · Confirmation and expiration

Use polling or a signature subscription

With polling, log the previous response and the first response at the desired commitment. The gap between observations, response times, and provider visibility all affect your estimate. Keep the cadence and timeout settings consistent when comparing providers, respect provider limits, and record missed and failed lookups with the successful ones. If the first check already shows the target status, mark it as an observation available at first check.

For clients already connected to WebSocket, signatureSubscribe can deliver a notification at the selected commitment. An optional receivedSignature notification indicates receipt by the RPC node. Record the terminal outcome separately. A reconnect can leave a gap, so read the current HTTP status before resuming observation. A one-time lookup after the fact cannot recover when your application first saw each status. Signature subscriptions

Record a useful comparison

Use the same signature, cluster, commitment, and observation window when comparing endpoints from the same machine. Record which provider sent the original transaction and which providers observed it. Keep separate totals for HTTP timing, time to first observed status, transaction errors, and observations that reached the timeout. Leave out any API keys or private data when sharing logs. For bundle IDs, use the relay's status method and reconcile the individual transaction signatures separately. Jito bundle status and individual signatures

If the RPC answers quickly but first observations are slow, investigate polling cadence, commitment and endpoint visibility first. If reads themselves frequently error or time out, start with transport configuration and endpoint reliability. The HTTP RPC and WebSocket latency guide has a repeatable method for measuring that part of the path.

Non-Custodial Windows Execution

Run MEV Strategies Locally on Windows

Execute private transaction bundles via Flashbots and Jito without handing your keys to third-party bot servers. Test your workflows locally with simulation before signing.

Windows 10/11 Native · 100% Client-Side Signing · Multi-Chain EVM & Solana · Free to Test

Related Articles

Further reading & tools

Discussion

No notes yet. Add the first observation, or share the link with your team on X (@FRBLabs).

Leave a note
Notes are stored locally in your browser only.
Control the Pulse

Expand Your Execution

Maximize your edge by exploring the full FRB toolkit. From institutional-grade telemetry to ready-to-export strategy scripts.

Blog → App Bridge

Ready to deploy this strategy? Open the dashboard and monitor execution.

Ready to Evolve?

Take the Next Step

Whether you're verifying terminal security or launching your first bundle, the FRB journey starts here.

Recommended

Install FRB Agent

Secure Windows build. Verified via SHA-256 for maximum integrity.

Recommended

Read Docs Quick Start

Master the setup in 15 minutes. From wallet pairing to first bundle.

Recommended

Launch Dashboard

Monitor your Ops Pulse and manage transaction routes in real-time.