Skip to main content

net_listening RPC Method

Returns true if client is actively listening for network connections.

Updated on
May 6, 2024

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.morph-holesky.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"net_listening","params":[],"id":1}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free