Message Types Overview
Solana Streams provides the following message types:Block-Level Data
Solana uses Slot rather than traditional block number as the timeline identifier.Transaction-Level Data
Core Transaction Fields
Instructions
Transactions contain multiple Instructions, which is the core of Solana’s execution model:A Solana transaction can contain multiple Instructions, each calling different programs.
Transfer Data
TransferEvents provides Solana transfer information (Topic: sol.transfers).
TransferEvent Structure
Transfer Core Fields
Token Metadata (TokenEvent)
Token events use commonTokenEvents (Topic: sol.tokens), containing:
SolanaExtra Specific Fields
Solana tokens include additional metadata fields:Balance Updates Layered Mechanism (Solana-specific)
This is an important characteristic of Solana stream data, balance updates are provided at two levels:- Instruction-Level Balance Updates
- Transaction-Level Balance Updates
Immediate balance changes after each instruction execution, reflecting the direct impact of single-step operations.
DEX Data
TradeEvents provides DEX trade data (Topic: sol.dex.trades), using common TradeEvent structure.
Trade Core Fields
DApp Info
DexPoolEvent - Liquidity Pools
Solana Chain Characteristics
Slot Mechanism
Solana uses Slot rather than traditional block number as timeline identifier:Message Packaging
Transactions are packaged in small batches, each Kafka message contains no more than 250 transactions.Block Header Completeness
High-Throughput Processing Recommendations
Due to Solana’s extremely high throughput, we recommend:- Sufficient processing capacity: Ensure consumers have adequate CPU and memory
- Parallel processing: Use multi-threading/coroutines for parallel message processing
- Efficient parsing: Optimize Protobuf parsing code
- Batch writes: Use batch database writes if persistence is needed
Topic → Message Type Mapping
Code Examples
Python Example: Consume Solana DEX Trades
Go Example: High-Performance Consumption
Related Documentation
Concepts & Integration Guide
Kafka Streams integration basics
EVM Streams
EVM chain data streams
TRON Streams
TRON network data streams
WebSocket Real-time Data
WebSocket integration

