rootSubscribe RPC Method
Subscribe to receive notification anytime a new root is set by the validator.
Parameters
None
Result
integer
- subscription id (needed to unsubscribe)
Code sample
Response
Notification Format:
The result is the latest root slot number.