Solana SDK Reference
Complete API reference for building Solana blockchain indexers with Squid SDK’sSolanaBatchProcessor.
Batch Processor API
General Settings
Configure your Solana batch processor
Field Selection
Select specific data fields to optimize performance
Context Interfaces
TypeScript interfaces for batch context
Transactions
Index Solana transactions
Data Types
Instructions
Process program instructions
Logs
Index transaction logs
Balances
Track account balances
Token Balances
Monitor SPL token balances
Advanced Features
Overview
TheSolanaBatchProcessor is the main class for indexing Solana blockchain data. It provides:
- High-performance batch processing: Process thousands of blocks efficiently
- Flexible data selection: Choose exactly what data you need
- Type-safe interfaces: Full TypeScript support with generated types
- Real-time sync: Near real-time indexing with chain reorganization handling
Basic Usage
main.ts
The Solana batch processor integrates seamlessly with SQD
Network for fast historical data retrieval and
falls back to RPC for real-time data.
Network API
Solana Network API
Learn about the SQD Network gateway for Solana

