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 Block Stream delivers confirmed block data to your application with the lowest possible latency, enabling your trading programs to react to on-chain events the moment a block is finalized. Whether you are monitoring signal transactions, executing post-confirmation logic, or tracking account state changes, Block Stream provides chain-native feeds tailored to each network’s architecture. Supported chains include Solana, BNB Smart Chain (BSC), and Base.
Solana’s high-throughput architecture requires specialized streaming approaches. BlockRazor offers three Solana block stream products: Shred Stream for the lowest possible raw data latency, Geyser Stream for structured on-chain data across accounts, slots, blocks, and transactions, and the Sandwich Detector for identifying sandwich attacks in confirmed Solana blocks.

Shred Stream

Shred Stream transmits raw shred data — the smallest unit of block data in Solana’s network — as shreds are produced by the leader validator. This means your application receives block fragments before the full block is assembled, giving you the earliest possible view of new on-chain activity.

Data Type

Raw shred data from leader validators

Pricing

$500 / stream / month

Geyser Stream

Geyser Stream provides real-time structured transmission of on-chain Solana data, including accounts, slots, blocks, and transactions. It is ideal for applications that need a full, semantically rich view of the chain rather than raw shred bytes.Geyser Stream is priced by monthly data volume (TiB):
Monthly VolumePrice
5 TiB$250 / month
10 TiB$500 / month
50 TiB$2,500 / month
100 TiB$4,750 / month
150 TiB$6,750 / month
200 TiB$8,500 / month
250 TiB$10,000 / month
Subscribing to Geyser Stream (Rust)The following example uses the Geyser gRPC plugin interface to subscribe to transaction updates on Solana:
use yellowstone_grpc_client::GeyserGrpcClient;
use yellowstone_grpc_proto::prelude::*;
use std::collections::HashMap;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let mut client = GeyserGrpcClient::connect(
        "https://geyser.blockrazor.io",
        Some("YOUR_AUTH_TOKEN".to_string()),
        None,
    )?;

    let mut transactions = HashMap::new();
    transactions.insert(
        "client_id".to_string(),
        SubscribeRequestFilterTransactions {
            vote: Some(false),
            failed: Some(false),
            ..Default::default()
        },
    );

    let request = SubscribeRequest {
        transactions,
        ..Default::default()
    };

    let (_, mut stream) = client.subscribe_with_request(Some(request)).await?;

    while let Some(msg) = stream.next().await {
        match msg {
            Ok(update) => println!("Block update: {:?}", update),
            Err(e) => eprintln!("Stream error: {}", e),
        }
    }

    Ok(())
}

Sandwich Detector

The Solana Sandwich Detector scans each confirmed Solana block in real time to identify sandwich attack patterns — transactions where a bot front-runs and back-runs a victim trade within the same block. Use this feed to audit trade execution quality, build sandwich-awareness into your routing logic, or monitor competitive MEV activity on-chain.

Detection Scope

Sandwich attack patterns identified in confirmed Solana blocks

Availability

Included with Solana Block Stream access
For full API details, see the Solana Block Stream API Reference.

Use Cases

Post-Confirmation Logic

Trigger downstream actions — such as placing follow-up orders, updating internal state, or sending notifications — immediately after a block is confirmed on-chain.

Signal Transaction Monitoring

Watch for specific confirmed transactions from wallets or contracts of interest and react within the same or next block window.

Arbitrage Execution

Detect price-moving transactions the moment their block is confirmed and execute cross-venue arbitrage before prices rebalance.

State Synchronization

Keep your off-chain world state (prices, balances, positions) continuously synchronized with the latest confirmed on-chain data.

Stream Comparison

ChainStreamData TypePricing
SolanaShred StreamRaw shred fragments$500/stream/month
SolanaGeyser StreamAccounts, slots, blocks, txsFrom $250/month (5 TiB)
SolanaSandwich DetectorSandwich attack patterns in confirmed blocksIncluded with Solana Block Stream
BSCNewBlocksFull confirmed blocks$500/stream/month
BaseGetBlockStreamConfirmed block data$300/stream/month
BaseGetFlashBlockStreamPre-confirmation data from Base sequencer$250/stream/month
BaseParseFlashBlockFlashBlock payload parsing helperIncluded with GetFlashBlockStream

Build docs developers (and LLMs) love