Skip to content

Preconfs

Preconfs deliver live Solana observations before confirmation over a dedicated gRPC protocol. A preconfirmation is not a finality guarantee. Use the Preconfs page in the dashboard for your regional endpoints and keys; Yellowstone clients use a different protocol.

Access and price#

Start a one-hour free trial or enable paid access using prepaid USD credit. Paid delivery costs $50 per 1,000,000 messages ($0.00005 each). Frankfurt is the first available region. All your keys share one account balance. A shared gRPC subscription does not include Preconfs.

One message means a complete preconfirmation delivered to one subscription after deduplication and filters. Two subscriptions receiving the same update count as two deliveries. HTTP/2 control traffic, filtered updates and incomplete or cancelled deliveries are not billed. The server counts completion into its TCP transport; it cannot confirm application-level processing.

The dashboard shows your balance, available messages and usage by key and region. When credit runs out, access pauses; top up and enable access to resume. Metering and revocation are asynchronous, so final delivered usage may exceed the remaining credit before access stops. Purchased credit never expires. Trials and time-limited admin grants are free during their validity.

Rust client#

Install the Reflow preconfirmation SDK. Set PRECONF_ENDPOINT to the exact regional URL in your dashboard and provide PRECONF_X_TOKEN privately.

use reflow_preconf_client::{connect, SubscribeRequest};
let mut client = connect(endpoint, &key).await?;
let mut stream = client.subscribe(SubscribeRequest { filter: None }).await?.into_inner();
while let Some(update) = stream.message().await? {
    consume(update);
}

The SDK attaches x-token to each call and validates HTTPS certificates. Keys are scoped to Preconfs. Rotate or revoke them from API Keys. An expired or revoked key receives UNAUTHENTICATED.

Filters and delivery#

Filter by providers, source IDs, slot ranges and known execution/revert status. Omitted fields match all. See the SDK's Filter type and protocol reference for the wire contract. Unknown execution results remain unknown.

This is a live feed without replay. Slow consumers receive RESOURCE_EXHAUSTED. Reconnect explicitly after resolving the cause; missed updates are not replayed. Optional Rakurai metadata retains original upstream fields.

Regional endpoints become available after configuration and TLS activation. The dashboard marks unavailable regions explicitly.