programSubscribe – Solana
The programSubscribe JSON-RPC method allows clients to subscribe to notifications about accounts owned by a specified program ID.
Supported Networks
Parameters
Required Parameters
Optional Parameters
Result
Result Format
Request Examples
API Endpoints
JSON-RPC Request – Subscribe to Program with Base64 Encoding
JSON-RPC Request – Subscribe to Program with JSON-Parsed Encoding
JSON-RPC Request – Subscribe to Program with Data Size Filter
Response
Example Response
Notification Format
Base58 Encoding Example
Parsed-JSON Encoding Example
Error Handling
Example Error Response
Use Cases
Code programSubscribe Example – Web3 Integration
Integration with Web3
Last updated
Was this helpful?