slotSubscribe RPC Method
Subscribe to receive notification anytime a slot is processed by the validator
Parameters
None
Result
<integer>
- Subscription id (needed to unsubscribe)
Code sample
Response
Notification Format:
The notification will be an object with the following fields:
parent: <u64>
- The parent slotroot: <u64>
- The current root slotslot: <u64>
- The newly set slot value
Example: