rootSubscribe
All the specifications for rootSubscribe Websocket Method on Solana
Subscribe to receive notification anytime a new root is set by the validator.
Parameters required for this RPC call
No parameters required.
{
"jsonrpc": "2.0",
"id": 1,
"method": "rootSubscribe"
}
Notification Format:
The result is the latest root slot number.
{
"jsonrpc": "2.0",
"method": "rootNotification",
"params": {
"result": 42,
"subscription": 0
}
}
Last updated
Was this helpful?