Lists all active networks, or chains if `net` parameter was specified.
## Request Structure
`JSON object:`
```JSON
{
"method": "net",
"subcommand": ["list"],
"arguments": {
"net": "chain_net_name"
},
"id": "1"
}
```
`Parameters:`
**`net`** - name of the Cellframe Network. The list of networks can be found in the `<Config_dir> \ etc \ network` folder or received using - [[Node Command - NET LIST]] `optional`
> [!HINT] Note
> Without `net` parameter an "arguments" section should be deleted.
### Curl Example
**Networks:**
`Request:`
```powershell
curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{
"method": "net",
"subcommand": ["list"],
"id": "1"
}'
```
`Response:`
```json
{
"type": 2,
"result": [
{
"networks": [
"KelVPN",
"Backbone"
]
}
],
"id": 1
}
```
**Chains:**
`Request:`
```powershell
curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{
"method": "net",
"subcommand": ["list","chains"],
"arguments": {
"net": "Backbone"
},
"id": "1"
}'
```
`Response:`
```json
{
"type": 2,
"result": [
{
"net": "Backbone",
"chains": [
"zerochain",
"main"
]
}
],
"id": 1
}
```