Services
ThorStreamer provides two gRPC services for streaming Solana blockchain data.
EventPublisher Service
Provides individual streams with lower throughput requirements.
SubscribeToTransactions
Stream real-time transactions matching configured program filters.
rpc SubscribeToTransactions(Empty) returns (stream StreamResponse)Input: None Output: Stream of transactions from supported programs
Use cases:
Monitor DeFi protocol interactions
Track trading activity
Market making strategies
SubscribeToAccountUpdates
Stream account state changes with flexible filtering.
Input:
Filtering options:
Monitor specific accounts by address
Monitor all accounts owned by specific programs
Combine both filters
Use cases:
Token balance tracking
Program state monitoring
Portfolio analytics
SubscribeToSlotStatus
Monitor Solana slot progression and confirmations.
Input: None Output: Stream of slot status events
Use cases:
Transaction confirmation tracking
Block finality monitoring
Network health checks
SubscribeToWalletTransactions
Stream transactions involving specific wallet addresses.
Input:
Use cases:
Wallet activity monitoring
User transaction tracking
Portfolio analytics
ThorStreamer Service
High-throughput unified stream combining all event types. This service requires robust infrastructure.
StreamUpdates
Single stream delivering all events through MessageWrapper.
Output: Stream containing one of:
TransactionEventWrapper— Transaction data with stream typeSubscribeUpdateAccountInfo— Account state changesSlotStatusEvent— Slot progression
Requirements:
8+ CPU cores
16GB+ RAM
Low-latency network
Worker pools for parallel processing
Clients that cannot keep up will be automatically disconnected.