# get_network_config

> Get configuration for a network.

```python
from x402_algorand import get_network_config
```

```python
def get_network_config(network: str) -> dict[str, Any]
```

Get configuration for a network.

## Parameters

- `network` (`str`, required):
Network identifier (V1 name or CAIP-2).

## Returns

- `returns` (`dict[str, Any]`):
NetworkConfig dictionary.

## Raises

- `NetworkError`: If network is not supported (subclass of `ValueError`).

Source: [x402_algorand/utils.py](https://github.com/x402-avm/x402-algorand/blob/main/x402_algorand/utils.py#L202)

Source: https://x402-avm.github.io/reference/python/x402-algorand/get-network-config
