Skip to main content
Liveness check. Returns the current slot and, more importantly, counts as a client message for the idle timer. The server closes a connection with WebSocket code 1000 after 10 minutes with no client messages and no notifications. If your filter is narrow enough that it can legitimately go 10 minutes without a match, send ping on an interval shorter than that. Protocol-level WebSocket ping frames that client libraries send automatically do not reset the idle timer — only JSON-RPC messages do. The server also pings every 15 seconds, so a healthy but quiet connection still carries traffic. If you see nothing at all for over a minute — no notification, no ping — assume the connection is dead and reconnect. See Handling Reconnects for the full strategy.

Body

No parameters.

Response

integer
The current slot.