logsSubscribe – Solana
The logsSubscribe JSON-RPC method allows clients to subscribe to transaction logs on the Solana blockchain.
Supported Networks
Parameters
Required Parameters
Optional Parameters
Result
Result Format
Request Examples
API Endpoints
JSON-RPC Request – Subscribe to Logs by Mentioned Account
JSON-RPC Request – Subscribe to All Logs
Response
Example Response
Notification Format
Example Notification
Error Handling
Example Error Response
Use Cases
Code logsSubscribe Example – Web3 Integration
Integration with Web3
Last updated
Was this helpful?