> For the complete documentation index, see [llms.txt](https://docs.bifrostnetwork.com/bifrost-network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bifrostnetwork.com/bifrost-network/developer-documentations/client-api/json-rpc-api/net.md).

# net

### **listening(): `bool`**

* **interface**: `api.rpc.net.listening`
* **jsonrpc**: `net_listening`
* **summary**: Returns true if client is actively listening for network connections. Otherwise false.

### **peerCount(): `Text`**

* **interface**: `api.rpc.net.peerCount`
* **jsonrpc**: `net_peerCount`
* **summary**: Returns number of peers connected to node.

### **version(): `Text`**

* **interface**: `api.rpc.net.version`
* **jsonrpc**: `net_version`
* **summary**: Returns protocol version.
