# Blockchain Networks' IDs

> A.k.a. BN ID

The identifiers of the blockchain networks in THXNET. are represented in an enumeration form.

```
MAINNET_ROOTCHAIN
TESTNET_ROOTCHAIN
MAINNET_LEAFCHAIN_THX
TESTNET_LEAFCHAIN_THX
MAINNET_LEAFCHAIN_LMT
TESTNET_LEAFCHAIN_LMT
MAINNET_LEAFCHAIN_TXD
TESTNET_LEAFCHAIN_TXD
TESTNET_LEAFCHAIN_SAND // TESTNET_LEAFCHAIN_SANDBOX
```

To specify the blockchain network in a URL, it must be turned into lower case, for example: `testnet_leafchain_sand`

And if the blockchain network is specified in HTTP header, then it can be both upper case or lower case.

### Example

#### URL (set the \<BN\_ID>)

`https://api.helpers.testnet.thxnet.org/rest/v0/my_id_wallet/testnet_leafchain_sand/ft`

`https://api.helpers.testnet.thxnet.org/rest/v0/my_id_wallet/testnet_leafchain_txd/ft`

#### HTTP Header

`THXNET-Blockchain-Network: TESTNET_LEAFCHAIN_SAND`

`THXNET-Blockchain-Network: TESTNET_LEAFCHAIN_THX`
