> For the complete documentation index, see [llms.txt](https://docs.clv.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.clv.org/portal/technical-documentation/web3-compatibility/net_version.md).

# net\_version

```
web3.net.version
```

**Parameters**

none

**Returns**

The current network id.

**Example**

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