Solana RPC WebSocket Subscriptions API
Real-time WebSocket subscription API for the Solana blockchain. Provides event-driven notifications for accounts (accountSubscribe, programSubscribe), transactions (logsSubscribe, signatureSubscribe), blocks (blockSubscribe), and cluster state changes (rootSubscribe, slotSubscribe, slotsUpdatesSubscribe, voteSubscribe). Each subscription has a corresponding unsubscribe method. WebSocket connections are available at ws://localhost:8900 for local development and wss://api.mainnet.solana.com for production.