Overview
ShredStream.com delivers Solana shreds directly to your server as UDP packets. Each packet is 1203 bytes and contains a single Solana shred (variant 0xA5). This section covers everything you need to receive, parse, and work with shred data in production.
What You Receive
Once your stream is active and your connection is configured, ShredStream.com sends a continuous flow of UDP packets to your server's IP and port. Each packet contains one shred -- a fragment of a Solana block produced by the current leader validator. These shreds arrive hundreds of milliseconds before the same data is available through standard RPC or Geyser gRPC endpoints.
Your server needs:
A public IP address reachable from the internet.
An open UDP port in your firewall and any cloud security groups.
A listener process that reads incoming packets from the socket.
Tuned OS buffers to handle the high packet rate without drops.
In This Section
UDP Setup -- open your firewall, tune your receive buffers, and run a production-ready listener.
Packet Format -- understand the structure and contents of each 1203-byte packet.
Parsing Shreds -- extract transaction data from shreds with code examples.
Best Practices -- optimize buffer sizes, use multi-threaded listeners, and handle packet loss.
Troubleshooting -- diagnose common issues like missing shreds, dropped packets, and connection problems.
Quick Verification
After setting up your listener, you should see output like this within seconds of your stream going active:
If shreds are not arriving, start with the UDP Setup guide to verify your firewall and buffer configuration, then check Troubleshooting for further diagnostics.
Last updated
Was this helpful?

