rootSubscribe
Subscribe to receive notification anytime a new root is set by the validator.
Parameters
None
No parameters are required for this method.
Result
Returns an integer
representing the subscription ID. This ID is required to unsubscribe.
Code Sample
Request Example:
Response Example:
Notification Format
The notification provides the latest root slot number.
Example Notification:
Last updated