Direct Shreds - UDP Forwarding (Raw Shreds)

If you have ERPC Dedicated Shreds, you can forward raw Shreds over UDP to your own listener. This is Solana’s fastest observation layer—before Geyser gRPC and far ahead of RPC/WebSocket. The SDK includes a simple Rust sample; pump.fun is used only because it’s the most common question we get.

Why this is the fastest path

  • Shreds arrive first: validator-to-validator Shreds land before Geyser gRPC or RPC/WebSocket, so latency-critical flows see events earliest.
  • UDP keeps overhead tiny: no connection setup, retransmit, or ordering; matches the on-wire format between validators.
  • Trade-off: pre-finalization data can be missing/out-of-order/failed—handle that as part of the speed bargain.
Note: the shared Shreds gRPC endpoint runs over TCP, so it’s slower than UDP Shreds.

Try it with Solana Stream SDK

Pump.fun example log

pump.fun hits over UDP Shreds
This example comes from the SDK sample; clone and run it to see hits, or swap in your own target.

Resources