Solana trading infrastructure: feeds and transaction delivery
A trading system on Solana needs fresh state, fast market data, a way to send transactions and a way to confirm them. This guide goes through each part and says which ones ZeroCopy serves today.
Updated
Budgets for each stage
Give observation, decision, submission and confirmation separate budgets. Current feed data can accumulate in a slow decision queue, and a sender can accept bytes while the transaction remains absent from the chain. A confirmation reader can also lag behind execution. One end-to-end timer cannot tell these failures apart.
Record the source slot with each observation and the signature with each signed transaction. Keep decision time distinct from network time. Treat submission acceptance, successful execution and the commitment you require as separate events. You can then replace a feed or sender without changing what your system considers settled. See the transaction landing guide for the sending path.
Maintain a local record of observations and pending actions instead of deriving position solely from send replies. Decide how long a signal remains useful and what happens when its feed stalls. Set a freshness policy for old snapshots before adding another sending transport.
Choose the data stage
Choose a feed by the information your decision needs. An instruction observed in a reconstructed entry and an account value produced by execution answer different questions. Transport names alone do not specify that boundary or the commitment of the data delivered.
| Interface | What arrives | Lifecycle stage | Work you retain |
|---|---|---|---|
| JSON-RPC polling | Requested account state, such as getAccountInfo responses. | A node evaluates the request at the selected commitment and returns its context slot. | Choose a polling interval, decode account data and track the age of each response. |
| WebSocket subscriptions | Account change notifications; other subscription methods expose other event types. | Account notifications reflect node state at the requested commitment. | Maintain subscriptions, reconnect and reconcile your local state after interruptions. |
| Yellowstone gRPC through Geyser | Filtered account, transaction, slot and block updates. | Ordinary account and transaction updates come from validator processing; commitment controls visibility. | Decode application data, track slot status and handle reconnects and consumer backlog. |
| Raw shreds | Block data fragments and coding shreds for recovery. | Block propagation, before the receiving validator replays the entries. | Verify, deduplicate, recover missing data, reconstruct entries and interpret transactions. |
| Decoded shreds | Entries or transactions reconstructed from shreds. | Deshredding can expose transactions before execution on the receiving validator. | Check the supplied schema and verification policy; obtain execution results and confirmation separately. |
Yellowstone also defines SubscribeDeshred, a separate pre-execution interface without transaction execution metadata. Ask which service a provider actually exposes. A decoded transaction does not establish its resulting account balances. Raw shreds shift reconstruction to your host; decoded feeds shift that work to the provider. See the shreds guide for receiver responsibilities and how shreds differ from replayed state.
Geyser transaction callbacks can arrive in parallel, so use the transaction index to recover order within a block. Arrival order may differ from execution order. Account updates carry write versions to distinguish successive writes. Preserve those fields in your state pipeline.
Choose a sending path
An RPC node's sendTransaction relays signed bytes and normally performs preflight checks unless you disable them. Its successful response means the RPC accepted the request, without waiting for confirmation. Inspect the provider's forwarding and retry behavior separately from its read service.
A staked sender uses stake-weighted quality of service at leader intake. Stake affects how leaders admit traffic from connected peers. A staked connection does not reserve blockspace or guarantee that a transaction will execute successfully or win scheduling against competing transactions.
Block-engine bundles add another submission path. Jito documents ordered, atomic execution within one slot and a tip auction for bundle selection. Those are Jito's semantics; ask each engine what its acknowledgment and bundle guarantees mean. A Solana priority fee influences leader scheduling. A Jito tip is a SOL transfer used in the engine's auction, a separate payment mechanism.
An accepted transaction can expire before inclusion, and an engine can acknowledge a bundle that loses its auction. Execution can fail because the state no longer meets the transaction's instructions. Track these outcomes separately so you can distinguish delivery failures from unsuccessful trades.
Confirm state and expiry
Keep a read RPC even when sends use another provider. It supplies blockhashes, account state, simulation and signature status. processed is the node's newest processed view and can change with a fork. confirmed reflects a supermajority vote; finalized provides the strongest commitment. Choose explicitly which observations may drive a speculative decision and which commitment settles your accounting.
Save the first signature before sending. Set READ_RPC_URL to your read provider and SIGNATURE to that saved signature. Query your read provider for the original transaction's status:
Check a signature on your read RPC
curl --fail-with-body --silent --show-error "$READ_RPC_URL" -H 'content-type: application/json' --data-binary @- <<JSON
{
"jsonrpc": "2.0",
"id": 1,
"method": "getSignatureStatuses",
"params": [["$SIGNATURE"], {"searchTransactionHistory": true}]
}
JSONInspect both err and confirmationStatus. For recent-blockhash transactions, retain the matching lastValidBlockHeight from getLatestBlockhash. A timeout leaves delivery uncertain. Check status before retrying, resend the same bytes only while valid, and establish expiry and the original outcome before signing a replacement. A new blockhash creates another signed transaction that could repeat the action. Durable nonces require their own lifetime handling rather than this block-height rule.
Host placement and leader location
Leaders rotate by slot. getSlotLeaders identifies upcoming validator identities, and getClusterNodes exposes advertised network endpoints. Neither response certifies a physical metro. Do not assume that the leader is in your application's city or beside your provider's entry server.
Model the route as two network legs: application host to sender metro, then sender metro to the scheduled leader. Distance and routing on both legs matter. Proximity to the edge covers only the first leg, so compare actual submissions across changing leaders instead of relying on edge pings.
ZeroCopy's sol.zerocopy.sh routes to the nearest metro. A named host such as fra.sol.zerocopy.sh selects Frankfurt. Use the nearest-metro host when automatic entry selection fits your deployment, and a named host when placement must stay explicit. The endpoint guide lists the hosts and transports.
Measure your workload
Per transaction, record decision and send timestamps, source slot, signature, metro, transport, fees, acknowledgment, execution error and eventual commitment. Measure successful, failed and expired shares alongside slots to land. Keep time held at the sender's edge separate from time until inclusion. If several senders receive the same signature, its eventual success alone cannot identify who delivered it.
Per feed, record arrival slots, consumer backlog, reconnects and gaps. For raw UDP, compare packets and delivery errors per receiver with local socket drops and reconstruction failures. ZeroCopy's delivery counters measure its sending activity. They do not show whether your application received or processed a datagram.
A vendor's headline number may omit the accounts, fees and decision deadlines that define your workload. A fair comparison reports those conditions and failures alongside completed samples. Disclose the method, date, metro, transport and request type, as ZeroCopy's Terms require for published benchmarks. State whether timing ends at acceptance, execution or a particular commitment, and whether simulation and retries are included.
Keep local alarms independent of delayed vendor metrics. ZeroCopy states that its transaction records are best effort and that missing metric series do not mean zero. Investigate absent samples.
Inspect order-flow handling
Ask a sender whether it maintains a mempool, resells transactions, shares them with searchers, or changes order or forwarding time for its own benefit. Ask who else sees signed bytes: validators, block engines, simulation providers and block builders can be separate recipients. Get written policies for retention and downstream handling. The submission transport alone does not establish privacy.
ZeroCopy's routing policy says SWQoS has no mempool and limits delivery to upcoming leaders and block engines, plus its RPC infrastructure provider when preflight is requested. Its site says ZeroCopy will not sell transactions, trade ahead, sandwich, or reorder or delay transactions for its own benefit, including when its own validators lead. It also states that third-party validators and engines follow their own rules and may share with block builders.
ZeroCopy services and availability
SWQoS is live and self-serve for sending. Its default in-transaction tip transfers only on successful execution, with a default minimum of 0.001 SOL per key. It is send-only and does not periodically resend accepted transactions. Shredstream is available on request: raw shreds over UDP, priced at $449 per receiver IP per metro for 30 days and billed per IP-day. See pricing for the payment models.
Both products cover six live metros: Frankfurt, Amsterdam, London, New York, Los Angeles and Tokyo. The Management API manages keys and reads usage. The Metrics API exposes Prometheus metrics with a stated 3-minute lag. A local Linux agent is available on request; its listeners do not authenticate callers, so restrict access. Agent telemetry is mandatory and includes host information and operational metrics, but excludes transaction bytes, signatures and bundle contents.
ZeroCopy's JSON-RPC read service, WebSocket, Yellowstone gRPC, decoded shreds, DAS and history are waitlist only and serve no traffic today. Supply a read RPC from another provider for blockhashes, state and confirmation, even when ZeroCopy handles transaction delivery and raw shreds.
Sources
- Solana: sendTransaction
- Solana: getAccountInfo and commitment levels
- Solana: accountSubscribe
- Anza: Solana Validator Geyser Plugins
- Triton One: Yellowstone gRPC subscription protocol
- Anza: Agave shred data structures
- Anza: Transaction Validation Unit
- Solana: Stake-weighted Quality of Service
- Jito: Low Latency Transaction Send
- Solana: Fees
- Solana: getLatestBlockhash
- Solana: getSignatureStatuses
- Solana: Durable Nonces
- ZeroCopy: Confirmation and retries
- Solana: getSlotLeaders
- Solana: getClusterNodes
- ZeroCopy: Endpoints and transports
- ZeroCopy: Shredstream monitoring
- ZeroCopy: Terms of Service
- ZeroCopy: Routing
- ZeroCopy: SWQoS
- ZeroCopy: Tips
- ZeroCopy: Shredstream
- ZeroCopy: Pricing
- ZeroCopy: Management API
- ZeroCopy: Metrics API
- ZeroCopy: Agent install and run
- ZeroCopy: Product availability