> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orbitflare.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Shredstream

> Stream raw Solana turbine shreds over UDP to your IP and port for lowest-latency trading and MEV infrastructure, sourced from top-of-turbine validators with multi-region coverage on OrbitFlare.

<CardGroup cols={4}>
  <Card title="Raw UDP Shreds" icon="cube">
    Turbine fragments forwarded directly to your IP:port
  </Card>

  <Card title="9 Regions" icon="globe">
    Premium and Standard locations worldwide
  </Card>

  <Card title="<1ms Overhead" icon="bolt">
    Forwarding adds less than a millisecond of latency
  </Card>

  <Card title="99.99% Uptime" icon="shield-check">
    Enterprise SLA with redundant infrastructure
  </Card>
</CardGroup>

## Before the Block, There's the Shred

Raw Solana shreds forwarded straight to your servers via UDP. Sourced from top-of-turbine validators across 9 global regions. See transactions before they hit any RPC or gRPC endpoint.

<Tip>
  Shredstream is for teams that need the absolute earliest on-chain signal. If you need processed, developer-friendly data, see [gRPC Streaming](/data-streaming/jetstream) instead.
</Tip>

## Solana Data Path

Where Shredstream sits in the stack:

<Steps>
  <Step title="Leader Validator">
    Produces the block and splits it into shreds.
  </Step>

  <Step title="Turbine Propagation">
    Shreds fan out through the validator tree.
  </Step>

  <Step title="OrbitFlare Shredstream">
    Raw UDP shreds forwarded to your IP:port. **You are here** -- upstream of every other feed.
  </Step>

  <Step title="Your Trading Server">
    Receives shreds before the block is finalized. Meanwhile, gRPC and RPC endpoints are still assembling.
  </Step>
</Steps>

## Core Features

<CardGroup cols={2}>
  <Card title="Raw UDP Delivery" icon="network-wired">
    Shreds are forwarded directly to your IP:port via UDP -- the fastest possible transport. No HTTP overhead, no WebSocket connections, no serialization. Just raw packets.
  </Card>

  <Card title="9 Global Regions" icon="globe">
    Strategically placed across major financial and data center hubs. Frankfurt, Amsterdam, London, New York, Singapore, Dublin, Siauliai, Salt Lake City, and Tokyo.
  </Card>

  <Card title="Top-of-Turbine Validators" icon="tower-broadcast">
    Our servers are fed by high-stake validators sitting near the root of Solana's Turbine tree, minimizing propagation hops from the leader node.
  </Card>

  <Card title="Enterprise Reliability" icon="shield-check">
    99.99% uptime SLA with redundant infrastructure, automatic failover, and 24/7 monitoring across all regions.
  </Card>
</CardGroup>

## Use Cases

<CardGroup cols={3}>
  <Card title="HFT Desks" icon="gauge-high">
    Shave critical microseconds off your signal pipeline. Raw shreds let your strategies act on block data while others wait for RPC confirmation.
  </Card>

  <Card title="MEV Searchers" icon="chess">
    Observe pending state transitions at the Turbine layer and construct bundles with an information edge that processed feeds cannot match.
  </Card>

  <Card title="Memecoin Snipers" icon="crosshairs">
    Spot new token deployments and liquidity events at the shred level, before they surface through conventional WebSocket or gRPC streams.
  </Card>

  <Card title="DEX Aggregators" icon="arrows-rotate">
    Refresh routing tables and price quotes from raw transaction fragments, reducing staleness and improving fill quality for end users.
  </Card>

  <Card title="Liquidation Engines" icon="robot">
    Monitor collateral ratio changes as they propagate through Turbine and trigger liquidation calls ahead of the broader network.
  </Card>

  <Card title="Market Makers" icon="chart-line">
    Tighten bid-ask spreads by adjusting quotes based on shred-level order flow, well before aggregated block data is available.
  </Card>
</CardGroup>

## How It Works

<Steps>
  <Step title="Purchase a Slot">
    Select your region and billing frequency. Pay with account balance, credit card (Stripe), or Solana crypto.
  </Step>

  <Step title="Configure Your Destination">
    Set your public IP address and UDP port in the dashboard. The system validates and registers your endpoint instantly.
  </Step>

  <Step title="Receive Raw Shreds">
    Shreds start flowing to your server within seconds. Build your deshredding and parsing logic to extract transactions.
  </Step>
</Steps>

<Note>
  **NFT Pass Holders** -- Get 1 free Shredstream slot per active NFT Pass license for a limited time. Restricted to OrbitServers IPv4 prefixes. Claim it from the Shredstream dashboard.
</Note>

<Tip>
  **Free Trial** -- Try Shredstream free for 60 minutes. Available for existing customers via Dashboard (14-day cooldown between trials). New customers can contact the team for access.
</Tip>

## 9 Global Shredstream Regions

Premium regions offer maximum validator density in the highest-demand locations. Standard regions provide geographic redundancy and broader coverage.

### Premium Regions -- \$1,000/month

| City           | Country        |
| -------------- | -------------- |
| 🇩🇪 Frankfurt | Germany        |
| 🇳🇱 Amsterdam | Netherlands    |
| 🇺🇸 New York  | United States  |
| 🇬🇧 London    | United Kingdom |

### Standard Regions -- \$500/month

| City                | Country       |
| ------------------- | ------------- |
| 🇸🇬 Singapore      | Singapore     |
| 🇮🇪 Dublin         | Ireland       |
| 🇱🇹 Siauliai       | Lithuania     |
| 🇺🇸 Salt Lake City | United States |
| 🇯🇵 Tokyo          | Japan         |

## Pricing

Flat-rate pricing per region with discounts for longer commitments. No hidden fees, no credit systems.

<CardGroup cols={2}>
  <Card title="Premium Regions" icon="star">
    **\$1,000**/month

    🇩🇪 Frankfurt, 🇳🇱 Amsterdam, 🇺🇸 New York, 🇬🇧 London

    * Raw UDP shred forwarding
    * Top-of-turbine validator access
    * Configure IP:port destination
    * Auto-renewal with Stripe or crypto

    Ideal for HFT, MEV, and latency-critical applications.
  </Card>

  <Card title="Standard Regions" icon="server">
    **\$500**/month

    🇸🇬 Singapore, 🇮🇪 Dublin, 🇱🇹 Siauliai, 🇺🇸 Salt Lake City, 🇯🇵 Tokyo

    * Raw UDP shred forwarding
    * Top-of-turbine validator access
    * Configure IP:port destination
    * Auto-renewal with Stripe or crypto

    Ideal for redundancy, multi-region setups, and broader coverage.
  </Card>
</CardGroup>

| Billing Period | Discount |
| -------------- | -------- |
| Monthly        | --       |
| Quarterly      | 5% off   |
| Semi-Annual    | 10% off  |
| Annual         | 15% off  |

Payment methods: account balance, credit card (Stripe), or Solana cryptocurrency. Discount codes accepted at checkout.

## OrbitFlare vs Other Providers

| Feature                  | OrbitFlare            | Other Providers         |
| ------------------------ | --------------------- | ----------------------- |
| **Starting Price**       | \$500/mo              | \$1,000-6,000/mo        |
| **Protocol**             | Raw UDP               | Raw UDP                 |
| **Regions Available**    | 9                     | 1-5                     |
| **Free Trial**           | 60 min (self-service) | Limited / Contact sales |
| **NFT Pass Free Slot**   | Yes                   | No                      |
| **Payment Methods**      | Balance, Card, Crypto | Varies                  |
| **Billing Discounts**    | Up to 15% annual      | Varies                  |
| **Dashboard Management** | Full self-service     | Varies                  |
| **Uptime SLA**           | 99.99%                | Varies                  |

## Technical Specifications

| Spec                   | Value                                 |
| ---------------------- | ------------------------------------- |
| **Transport**          | UDP (raw packets)                     |
| **Max Shred Size**     | 1,228 bytes                           |
| **Packet Frequency**   | Continuous per slot                   |
| **Authentication**     | IP whitelist                          |
| **Destination Config** | IP:port via dashboard                 |
| **Sync Frequency**     | Every 5 seconds                       |
| **Bandwidth Required** | \~50-100 Mbps for a full shred stream |

## Code Example

A minimal Rust listener that receives and parses raw shreds using the `solana_ledger` crate:

```rust shred_listener.rs theme={null}
use std::net::UdpSocket;
use solana_ledger::shred::{
    merkle::Shred, ShredType,
};

fn main() -> std::io::Result<()> {
    let socket = UdpSocket::bind("0.0.0.0:9000")?;
    let mut buf = [0u8; 1232];

    loop {
        let (len, _src) = socket.recv_from(&mut buf)?;
        let raw = buf[..len].to_vec();

        let shred = match Shred::from_payload(raw) {
            Ok(s) => s,
            Err(_) => continue,
        };

        let hdr = shred.common_header();
        let kind = match shred.shred_type() {
            ShredType::Data => "DATA",
            ShredType::Code => "CODE",
        };

        println!(
            "[{kind}] slot={} idx={} fec={} {len}B",
            hdr.slot, shred.index(), shred.fec_set_index(),
        );
    }
}
```

## Solana Shred Header Format

| Offset  | Size     | Field                             |
| ------- | -------- | --------------------------------- |
| `0x00`  | 64 bytes | Signature (Ed25519)               |
| `0x40`  | 1 byte   | Variant (type + auth)             |
| `0x41`  | 8 bytes  | Slot (u64 little-endian)          |
| `0x49`  | 4 bytes  | Index (u32 little-endian)         |
| `0x4D`  | 2 bytes  | Version (u16 little-endian)       |
| `0x4F`  | 4 bytes  | FEC Set Index (u32 little-endian) |
| `0x53+` | varies   | Type-specific header + payload    |

## FAQ

<AccordionGroup>
  <Accordion title="What are Solana shreds?">
    Shreds are the smallest unit of data in Solana's block propagation protocol (Turbine). Validators break blocks into shreds and distribute them across the network. By receiving raw shreds, you get access to transaction data before it's assembled into full blocks or processed by any RPC or gRPC endpoint.
  </Accordion>

  <Accordion title="How does OrbitFlare Shredstream work?">
    When you purchase a Shredstream slot, you specify a region and a destination IP:port. Our servers in that region receive shreds from top-of-turbine validators and forward them directly to your server via UDP. Shreds start arriving within seconds of configuring your destination.
  </Accordion>

  <Accordion title="What regions are available?">
    9 regions total. Premium regions at $1,000/month: Frankfurt, Amsterdam, New York, and London. Standard regions at $500/month: Singapore, Dublin, Siauliai, Salt Lake City, and Tokyo. All regions receive shreds from top-of-turbine validators.
  </Accordion>

  <Accordion title="What are the technical requirements?">
    You need a server with a public IP address and an open UDP port (no NAT/CGNAT). Your server should have sufficient bandwidth (\~50-100 Mbps for a full shred stream) and you'll need to implement deshredding logic to reconstruct transactions from the raw shred fragments.
  </Accordion>

  <Accordion title="Do NFT Pass holders get a free slot?">
    Yes, for a limited time. Each active OrbitFlare NFT Pass license includes 1 free Shredstream slot, restricted to OrbitServers IPv4 prefixes. You can claim it directly from the Shredstream dashboard.
  </Accordion>

  <Accordion title="Can I try Shredstream before purchasing?">
    Yes. Existing customers can start a free 60-minute trial directly from the dashboard. There's a 14-day cooldown between trials. New customers can contact the team for trial access.
  </Accordion>

  <Accordion title="What payment methods do you accept?">
    Account balance (instant), credit/debit card via Stripe (supports recurring auto-renewal), and Solana cryptocurrency (on-chain verification). Discount codes accepted at checkout.
  </Accordion>

  <Accordion title="How does billing and auto-renewal work?">
    Subscriptions auto-renew by default at the end of each billing period. Choose monthly, quarterly (5% discount), semi-annual (10% discount), or annual (15% discount) billing. Auto-renewal can be toggled on/off, and cancellation requests can be submitted from the dashboard at any time.
  </Accordion>
</AccordionGroup>

## Related

<CardGroup cols={2}>
  <Card title="gRPC Streaming - Jetstream" icon="bolt" href="/data-streaming/jetstream">
    Processed transaction and account streaming with developer-friendly tooling.
  </Card>

  <Card title="gRPC Streaming - Yellowstone" icon="tower-broadcast" href="/data-streaming/yellowstone">
    Full Yellowstone gRPC interface for comprehensive on-chain data access.
  </Card>

  <Card title="Dedicated Nodes" icon="server" href="/dedicated-nodes">
    Private RPC and validator infrastructure with guaranteed resources.
  </Card>

  <Card title="OrbitFlare Pass" icon="gem" href="/nft-pass">
    Premium all-access NFT pass with a free Shredstream slot.
  </Card>
</CardGroup>
