slotsUpdatesSubscribe RPC Method
Please note that this subscription is unstable. Additionally, the format of this subscription may change in the future, and it may not always be supported.
Parameters
This method does not accept any parameters
Returns
result
boolean
The subscription id
slotsUpdatesNotification
object
The notification object with the following fields:
parent
integer
The parent slot
slot
integer
The newly updated slot
timestamp
integer
The Unix timestamp of the update
type
string
The update type, which may be one of the following: 'firstShredReceived', 'completed', 'createdBank', 'frozen', 'dead', 'optimisticConfirmation' or 'root'
Request
1wscat -c \2# wait for connection3{"id":1,"jsonrpc":"2.0","method":"slotsUpdatesSubscribe"}
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free