WebSocket RPC subscription client. Provides promisified access to Solana's WebSocket subscriptions (logs, slots, signatures, programs, accounts).
All subscription methods return a Promise that resolves to a subscription object with an async iterator.
Promise
Subscribe to account updates.
Manually close the underlying WebSocket connection.
Subscribe to transaction logs.
Optional
Subscribe to program account updates.
Subscribe to signature confirmation status.
Subscribe to slot updates.
WebSocket RPC subscription client. Provides promisified access to Solana's WebSocket subscriptions (logs, slots, signatures, programs, accounts).
All subscription methods return a
Promisethat resolves to a subscription object with an async iterator.