> ## Documentation Index
> Fetch the complete documentation index at: https://xoxno.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Network information

> Query network configuration, economics, ESDT token registries, staking info, and epoch data.

The network endpoints return chain-wide configuration, real-time economics, token registries, and staking data. Most target the metachain or any available observer.

## Configuration and status

| Method | Path                      | Description                                              |
| ------ | ------------------------- | -------------------------------------------------------- |
| GET    | `/network/config`         | Chain parameters (chainID, gas price, shard count, etc.) |
| GET    | `/network/status/{shard}` | Per-shard network status                                 |
| GET    | `/network/economics`      | Economics metrics (staked, supply, APR), cached          |
| GET    | `/network/gas-configs`    | Gas cost configuration for all operations                |

<Tabs>
  <Tab title="cURL">
    ```bash theme={"system"}
    curl "https://rust-gateway.xoxno.com/network/config"
    ```
  </Tab>

  <Tab title="TypeScript">
    ```ts theme={"system"}
    const res = await fetch("https://rust-gateway.xoxno.com/network/config");
    const data = await res.json();
    console.log(data);
    ```
  </Tab>

  <Tab title="Python">
    ```python theme={"system"}
    import requests

    res = requests.get("https://rust-gateway.xoxno.com/network/config")
    print(res.json())
    ```
  </Tab>

  <Tab title="Rust">
    ```rust theme={"system"}
    let body: serde_json::Value = reqwest::Client::new()
        .get("https://rust-gateway.xoxno.com/network/config")
        .send()
        .await?
        .json()
        .await?;

    println!("{body:#?}");
    ```
  </Tab>
</Tabs>

## ESDT token registries

| Method | Path                                 | Description                                             |
| ------ | ------------------------------------ | ------------------------------------------------------- |
| GET    | `/network/esdts`                     | All registered ESDT tokens                              |
| GET    | `/network/esdt/fungible-tokens`      | Fungible tokens only                                    |
| GET    | `/network/esdt/semi-fungible-tokens` | Semi-fungible tokens only                               |
| GET    | `/network/esdt/non-fungible-tokens`  | Non-fungible tokens only                                |
| GET    | `/network/esdt/supply/{token}`       | Total supply for a token (aggregated across all shards) |

Token supply aggregation queries all shards plus the metachain in parallel and performs big-integer arithmetic to compute the total. For fungible tokens, the response also contains `initialMinted` from the ESDT system contract.

## Epoch and protocol data

| Method | Path                                            | Description                           |
| ------ | ----------------------------------------------- | ------------------------------------- |
| GET    | `/network/enable-epochs`                        | Protocol feature activation epochs    |
| GET    | `/network/enable-epochs-v2`                     | Extended epoch activation data        |
| GET    | `/network/enable-rounds`                        | Round-based feature activation        |
| GET    | `/network/epoch-start/{shard}/by-epoch/{epoch}` | Epoch start data for a specific shard |

## Staking and validation

| Method | Path                               | Description                       |
| ------ | ---------------------------------- | --------------------------------- |
| GET    | `/network/direct-staked-info`      | Direct staking information        |
| GET    | `/network/delegated-info`          | Delegation information            |
| GET    | `/network/ratings`                 | Validator ratings                 |
| GET    | `/network/genesis-nodes`           | Genesis validator node list       |
| GET    | `/network/trie-statistics/{shard}` | Account trie statistics per shard |
