# NetworkId

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

[**@midnight-ntwrk/compact-runtime v0.9.0**](https://docs.midnight.network/api-reference/compact-runtime.md)

***

[@midnight-ntwrk/compact-runtime](https://docs.midnight.network/api-reference/compact-runtime/globals.md) / NetworkId

# Enumeration: NetworkId

The network currently being targeted

## Enumeration Members[​](#enumeration-members "Direct link to Enumeration Members")

### DevNet[​](#devnet "Direct link to DevNet")

```
DevNet: 1;
```

A developer network, not guaranteed to be persistent

***

### MainNet[​](#mainnet "Direct link to MainNet")

```
MainNet: 3;
```

The Midnight mainnet

***

### TestNet[​](#testnet "Direct link to TestNet")

```
TestNet: 2;
```

A persistent testnet

***

### Undeployed[​](#undeployed "Direct link to Undeployed")

```
Undeployed: 0;
```

A local test network
