Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/BlockRazorinc/docs_en/llms.txt

Use this file to discover all available pages before exploring further.

BlockRazor provides two distinct Solana block streaming products — Shred Stream and Geyser Stream — each optimized for different latency profiles and data granularity requirements. Shred Stream delivers raw shred data from the Solana network at the lowest possible latency, while Geyser Stream provides structured real-time data covering accounts, slots, blocks, and transactions via the Yellowstone gRPC interface. Both streams are complemented by the Sandwich Detector, which flags sandwich attack patterns in incoming Solana blocks as they are processed.
Shred Stream and Geyser Stream are independent subscriptions. You can purchase either or both depending on your use case. The Sandwich Detector is an add-on capability available alongside these streams.

Stream Comparison

FeatureShred StreamGeyser Stream
Data typeRaw shredsAccounts, slots, blocks, transactions
Latency profileUltra-low (pre-block)Low (slot-confirmed)
InterfaceWebSocket / custom transportgRPC (Yellowstone)
Pricing$500 / stream / monthTiered by TiB/month (see below)

Shred Stream

The Shred Stream transmits raw shred packets directly from Solana validators before they are assembled into complete blocks. This makes it the fastest possible source of Solana block data — ideal for latency-sensitive applications such as high-frequency trading bots, leader-aware transaction scheduling, and real-time arbitrage.

Connection Details

PropertyValue
ProtocolWebSocket (WSS)
Pricing$500 / stream / month
ChainSolana
Contact [email protected] for your dedicated Shred Stream endpoint and auth token after subscribing. Endpoints are provisioned per customer.

Code Example

websocat "wss://shred.blockrazor.io/solana?auth=YOUR_AUTH_TOKEN"
Shred data arrives in binary frames. Use a Solana shred decoder library to reconstruct entries and transactions from raw shred payloads before further processing.

Pricing

Subscription PeriodPriceDiscount
1 month$500 / stream / month
3 months$500 / stream / month5% off
6 months$500 / stream / month10% off
12 months$500 / stream / month20% off

Sandwich Detector

The Sandwich Detector is a real-time analysis layer that inspects incoming Solana block data and identifies sandwich attack patterns — sequences where a bot places buy and sell orders around a victim transaction to extract value. When a sandwich is detected, the detector emits a structured alert alongside the block stream data.
The Sandwich Detector operates on Geyser Stream data and is available as part of the Geyser Stream subscription. No separate endpoint is needed — configure sandwich detection as a filter within your subscription request.
Detected sandwich events include:
  • Frontrun transaction hash — the bot’s buy-side transaction placed before the victim.
  • Victim transaction hash — the targeted user transaction.
  • Backrun transaction hash — the bot’s sell-side transaction placed after the victim.
  • Estimated extracted value — approximate profit extracted by the sandwicher, in lamports.

Build docs developers (and LLMs) love