Comment on page
net_listening
Returns true if a client is actively listening for network connections.
None
Boolean - true when listening, otherwise false.
// Request
curl https://viction.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"net_listening","params":[],"id":83}'
// Result
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}
Last modified 1mo ago