rootSubscribe
(Subscription Websocket) Subscribe to receive notification anytime a new root is set by the validator.
This method will use 20
Compute Units.
Parameters
None.
Returns
result
The result will be an RpcResponse JSON object with id equal to the subscription id (needed to unsubscribe).
Notification Format:
The notification format is the same as seen in the getAccountInfo RPC HTTP method.
slot
The latest slot number.
Last updated
Was this helpful?