Parameters
This method takes no parameters.
Returns
boolean Listening state.
When to use it
Check that the node accepts peer connections; a basic liveness signal.
How to read the result
true or false.
Tips
- For application health checks eth_blockNumber is more useful: it also shows the node is moving.