# net\_listening

**Returns true if client is actively listening for network connections.**

[**Ethereum.org API Reference**](https://ethereum.org/en/developers/docs/apis/json-rpc/#net_listening)

**Parameters**

None

**Returns**

`Boolean` - `true` when listening, otherwise `false`.

## Example

#### Request

```
curl --request POST \
     --url https://endpoints.omniatech.io/v1/RPC_ENDPOINT \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "net_listening"
}
'
```

#### Response

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