> For the complete documentation index, see [llms.txt](https://wallet-docs.broearn.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wallet-docs.broearn.com/ethereum-and-evm/provider-api-reference/properties/eth_networkversion.md).

# eth\_networkVersion

## window\.bw\.eth.networkVersion

The network number of the blockchain that you are connected to. This property is available for legacy purposes. It is recommended that modern dapps refer to the `chainId` property to determine what chain a user is connected to currently.

```javascript
const networkVersion = window.bw.eth.networkVersion;
console.log(networkVersion);
// "1"
// Ethereum Mainnet's Network Version
```
