net_listening

Returns true if client is actively listening for network connections.

Request

curl https://eth-mainnet.solarpath.io/v1/YOUR-API-KEY \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc": "2.0", "id": 1, "method": "net_listening", "params": []}'

Response

{
  "id": 1,
  "jsonrpc": "2.0",
  "result": true
}

Last updated