net_listening - Ethereum
Shows the true boolean result if the client listens actively for network connections
Last updated
Shows the true boolean result if the client listens actively for network connections
No parameters.
Boolean - true when the client is listening, in other cases returns false.
Here is a typical appliance example.
curl https://eth-mainnet.rpcfast.com/?api_key=<key> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"net_listening","params":[],"id":67}'
Last updated
{
"jsonrpc": "2.0",
"id": 67,
"result": true
}