blockSubscribe – Solana
The blockSubscribe JSON-RPC method allows clients to subscribe to Solana block notifications. This method triggers a notification whenever a new block is confirmed or finalized.
Supported Networks
Parameters
Required Parameters
Optional Parameters
Result
Result Format
Request Examples
API Endpoints
JSON-RPC Request – Subscribe to All Blocks
JSON-RPC Request – Subscribe to Specific Account/Program
Response
Example Response
Error Handling
Example Error Response
Use Cases
Code blockSubscribe Example – Web3 Integration
Integration with Web3
Last updated
Was this helpful?