net_listening

Returns boolean if client is actively listening for network connections.

Parameters

None

Result

Returns true if client is listening for connection, false otherwise.

Example

Request

curl <your-endpoint> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"net_listening","params":[],"id":67}'

Return

{
    "jsonrpc": "2.0",
    "id": 67,
    "result": true
}
Language
Click Try It! to start a request and see the response here!