---
description: Returns the current network id
---

# net\_version

```
web3.net.version
```

**Parameters**

none

**Returns**

The current network id.

**Example**

```
var version = web3.net.version;
console.log(version);
> 1023
```

