Shreds
What are Shreds?
On Solana, blocks are never transmitted as a complete unit.
Instead, the leader streams the block as it is being produced, splitting it into small packets called shreds. These are broadcast over UDP to the network and reassembled by validators in real time.
Why it matters
Latency on Solana is not a single event—it splits into two distinct phases:
Transaction → Leader (getting included)
Leader → Network (via shreds) (state becoming observable)
Most systems focus on phase (1).
But for latency-sensitive strategies, phase (2) is where edge is gained or lost. Shreds propagate over a fanout-based UDP network (Turbine), meaning:
Packets take different paths
Arrival order is not guaranteed
Timing varies across peers
As a result:
Validators reconstruct blocks at different wall-clock times
Earlier reconstruction = earlier access to:
account state
program outputs
orderbook changes
Even a few milliseconds here is material.
Who this is for
Astralane Shred Delivery is designed for:
MEV searchers
Market makers
High-frequency traders
Validator operators
Infrastructure providers
If your strategy depends on reacting to state changes as early as possible, shred delivery is a must.
How Astralane Shreds work
Astralane provides raw UDP shred streams optimized for:
Low-latency propagation
Consistent shred arrival
Efficient duplicate handling
Shreds are delivered directly over UDP to minimize overhead and avoid additional transport latency.
This allows clients to:
Receive shreds earlier in the propagation cycle
Reconstruct state faster
Reduce dependency on slower or congested peers
Pricing & Tips Setup
Shreds pricing
Instead of hard monthly commitments, we provide a pay-as-you-use model. If you accumulate enough registered tips for the last 24h, you will be automatically eligible to enter one of the shred tiers.
tier-1
0.2 SOL
Good for the dev testing, faster than Jito shreds.
tier-2
0.5 SOL
Ideal for the ultra-low-latency shred delivery and production workloads.
What the tiers mean
Your tier controls how many validator-direct shred sources you receive. A higher tier covers more leaders, which lowers your effective shred latency — you see more of the network's blocks earlier.
Tier-1 gives baseline coverage, enough for development and testing;
Tier-2 unlocks broader leader coverage for ultra-low-latency production workloads where every millisecond counts.
You can check your current tier and 24h tips at https://portal.astralane.io/shreds

Grace period & downgrades
As soon as you cross a tier's 24h tip threshold, you are upgraded immediately. If your trailing-24h tips drop below your current tier, you are not dropped instantly. You keep the tier for a 24h grace window, then fall back one tier down. Downgrades step down one tier at a time (tier-2 → tier-1), never straight to no-access.
How your tips get counted
ShredPay is a separate HTTP service used only for registering tips - not for landing transactions. You send:
signed transaction
slot that triggered the transaction
Request format:
POST to your endpoint URL, JSON body (array):
Response format:
You can land your transactions anywhere — Iris or any other provider. That part is entirely up to you.
No double-paying. You don't pay Astralane twice. If you're already tipping ~0.5 SOL or more via Iris, that stays exactly the same — you just also send a copy of those tipped transactions to the ShredPay endpoint.
How to set up tipping
The best use of such model is integrating tips into your searcher code:
Full working example: builds a tip transaction, lands it via Iris, and registers a copy through the ShredPay HTTP endpoint.
View the example on GitHub.
Tipping Address
ASTZHptaMgYVMX6DAocDr1vVXLran5PpfKfQtVTSWkfE
AStZiY6EE532nQBBogmvcWemc2bwg2kHuR4Jrd5Cqaq5
AStzprSDj14m1pdMuuomjLQwUL5X4d4yEKwiFfzfUSeC
ASTzWqJ1irGmrWZAkc1UUfVYbJknsxh7R3Jo4jYZ7Mbd
ShredPay endpoints
Send your POST request to the endpoint closest to your infra:
Global Edge Endpoint
Frankfurt (Recommended)
Amsterdam (Recommended)
London
Get Access to the Shreds
You can connect your shred stream directly through the Astralane portal. If you run into any issues, open a support ticket in Discord, providing your desired region and destination ip:port.
Currently supported regions:
FRA (shred relay is on Fra2 Terraswitch and Cherry for co-location)
NY (shred relay is on Ewr2 Terraswitch for co-location)
Examples & Code
Libraries Required
solana-ledger
3.1.12
Provides Shred type, parsing, and new_from_serialized_shred(). Must enable the agave-unstable-api feature since the shred module is gated behind it in v3.
solana-packet
3.x
Provides PACKET_DATA_SIZE (1232 bytes) — the max size of a Solana UDP packet. Use this as your receive buffer size.
solana-clock
3.x
Provides the Slot type alias (u64).
Optional
solana-entry
Needed if you want to deserialize deshredded data into Entry objects (contains transactions).
bincode
Needed to deserialize the raw deshredded bytes into Vec<Entry>.
solana-streamer
High-performance packet receiver using recvmmsg. Useful if you need multi-threaded reception at scale, but overkill for basic usage.
solana-perf
Provides Deduper (bloom filter) for deduplicating shreds. Only needed at scale.
Cargo.toml
Note on GCC 15+: solana-ledger pulls in RocksDB which fails to compile on GCC 15 due to missing <cstdint> includes. Add this workaround:
Shred Wire Format
Every shred starts with a fixed common header at these byte offsets:
You don't need to parse this manually — Shred::new_from_serialized_shred() does it for you.
Code Structure
1. Bind a UDP socket
Use PACKET_DATA_SIZE (1232 bytes) as your receive buffer — this is the maximum size of any Solana UDP packet.
2. Receive packets in a loop
Each call to recv_from gives you exactly one shred.
3. Parse the shred
This validates the packet and returns a Shred enum (either data or code variant).
4. Read shred fields
Minimal complete example
code : https://github.com/Astralane/Shred_example/tree/main
Latency monitor
Measure and compare end-to-end latency of your shred feed against gRPC endpoints – see who sees each transaction first.
shreds-latency-probe listens to your UDP shred feed and connects to yellowstone-gRPC endpoints simultaneously. For every transaction, it tracks which source arrived first and measures the lag in microseconds.
Output: a live TUI with real-time counters and a zip archive with raw CSVs and summary tables for offline analysis. View source on GitHub.
FAQ
Last updated