Skip to main content

net_listening RPC Method

Returns true if client is actively listening for network connections.

Updated on
Nov 2, 2023

net_listening RPC Method

Parameters

This method does not accept any parameters

Returns

result
It's true when the client is actively listening for network connections, otherwise false
Request
1
curl https://docs-demo.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"net_listening","params":[],"id":67}'
5
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free