# List networks

> List the onchain networks enabled for this environment.

`GET /v1/agent-api/onchain-networks`

Neither the SDK nor the CLI calls this endpoint, so you'll need to send a signed
request yourself. See [Authentication](https://docs.catena.com/api.md#authentication) for how requests are
signed. The published contract lists live networks only; a sandbox organization
gets `base-sepolia` and `arc-testnet`.

## Responses

| Status | Description                                                                            |
| ------ | -------------------------------------------------------------------------------------- |
| `200`  | Enabled onchain network ids, and those of them Catena has made temporarily unavailable |
| `401`  | Session token missing, unknown, or expired                                             |

## Response fields

| Field            | Type                         | Required | Description                                                                                                                                                                                                                          |
| ---------------- | ---------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `networks`       | array of `"base"` \| `"arc"` | Yes      |                                                                                                                                                                                                                                      |
| `closedNetworks` | array of `"base"` \| `"arc"` | Yes      | The networks in networks that Catena has made temporarily unavailable. They refuse new payments with onchain_network_closed; money already on them is safe, and payments already in progress complete. Use another network meanwhile |

## Example

### Response `200`

```json
{
  "networks": ["base", "arc"],
  "closedNetworks": []
}
```
