> For the complete documentation index, see [llms.txt](https://docs-unified.crypto-chief.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-unified.crypto-chief.com/api-reference/networks.md). Agents can also search and read this documentation through its [MCP server](https://docs-unified.crypto-chief.com/~gitbook/mcp).

# Networks

## Networks

Networks, what each one supports, its finality rules and its current head. Read them once at start-up and whenever an operation answers `422`. Listing networks is free.

### List networks

`GET /v1/networks`

#### Query parameters

| Parameter | Type    | Required | Description                                     |
| --------- | ------- | -------- | ----------------------------------------------- |
| `family`  | string  | No       | `evm`, `tron`, `solana`, `ton`, `xrp` or `utxo` |
| `testnet` | boolean | No       | `true` — testnets only; `false` — mainnets only |

#### Request

```bash
curl -s "https://api-unified.crypto-chief.com/v1/networks?testnet=false" \
  -H "X-API-Key: $CC_API_KEY"
```

#### Response

`{ "items": [Network, ...] }`, the whole list without a cursor. Two items shown:

```json
{
  "items": [
    {
      "id": "ETH_MAINNET",
      "family": "evm",
      "name": "Ethereum",
      "testnet": false,
      "chain_id": "1",
      "caip2": "eip155:1",
      "native": {
        "network": "ETH_MAINNET", "id": "native", "kind": "native", "standard": "native",
        "contract": null, "token_id": null, "symbol": "ETH", "decimals": 18, "name": "Ether",
        "logo_url": null, "listed": true, "spam": { "status": "clean", "reasons": [] }, "flags": []
      },
      "finality": { "basis": "finalized_tag", "economic": true, "confirmed_depth": 2, "final_depth": null, "final_available": true },
      "capabilities": {
        "balances": { "native": true, "tokens": "all", "at": true, "source": "index" },
        "transfers": {
          "types": ["transfer.native", "transfer.token", "nft.transfer"],
          "source": "index",
          "history_from": null,
          "indexed_through": "23950110",
          "gaps": ["internal_native"]
        },
        "transactions": true,
        "internal_native": "per_tx",
        "memo": null,
        "nfts": { "transfers": true, "holdings": true, "metadata": "fetched", "gaps": [] },
        "holders": "full",
        "approvals": true,
        "utxos": false,
        "xpub": false,
        "fees": true,
        "broadcast": true,
        "simulate": true,
        "names": ["ens"],
        "events_search": {
          "types": ["transfer.native", "transfer.token", "nft.transfer", "token.approval", "contract.event", "contract.call", "transaction.failed"],
          "max_block_range": null,
          "source": "index"
        },
        "eventstream": true
      },
      "readiness": { "index": "ok", "native": "ok" },
      "status": {
        "head": "23950112",
        "head_hash": "0x5c1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a",
        "finalized": "23950048",
        "head_time": "2026-11-29T10:00:00.000Z",
        "lag_seconds": 2
      }
    },
    {
      "id": "TON_MAINNET",
      "family": "ton",
      "name": "TON",
      "testnet": false,
      "chain_id": null,
      "caip2": null,
      "native": {
        "network": "TON_MAINNET", "id": "native", "kind": "native", "standard": "native",
        "contract": null, "token_id": null, "symbol": "GRAM", "decimals": 9, "name": "Gram",
        "logo_url": null, "listed": true, "spam": { "status": "clean", "reasons": [] }, "flags": []
      },
      "finality": { "basis": "masterchain_seqno", "economic": true, "confirmed_depth": 1, "final_depth": 1, "final_available": true },
      "capabilities": {
        "balances": { "native": true, "tokens": "all", "at": false, "source": "native" },
        "transfers": {
          "types": ["transfer.native", "transfer.token", "nft.transfer"],
          "source": "native",
          "history_from": null,
          "indexed_through": null,
          "gaps": []
        },
        "transactions": true,
        "internal_native": "full",
        "memo": "text",
        "nfts": { "transfers": true, "holdings": true, "metadata": "fetched", "gaps": [] },
        "holders": "full",
        "approvals": false,
        "utxos": false,
        "xpub": false,
        "fees": true,
        "broadcast": true,
        "simulate": true,
        "names": ["ton_dns"],
        "events_search": {
          "types": ["transfer.native", "transfer.token", "nft.transfer"],
          "max_block_range": 1000,
          "source": "native"
        },
        "eventstream": true
      },
      "readiness": { "native": "ok" },
      "status": {
        "head": "43120500",
        "head_hash": "0x9a8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e0f9a8b",
        "finalized": "43120500",
        "head_time": "2026-11-29T10:00:00.000Z",
        "lag_seconds": 1
      }
    }
  ]
}
```

#### The network object

| Field                | Type           | Description                                                                                                                                                      |
| -------------------- | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`                 | string         | Network code                                                                                                                                                     |
| `family`             | string         | `evm`, `tron`, `solana`, `ton`, `xrp`, `utxo`                                                                                                                    |
| `name`               | string         | Display name. TON networks are named TON; their coin is GRAM                                                                                                     |
| `testnet`            | boolean        | `true` on test networks                                                                                                                                          |
| `chain_id`           | string \| null | EVM chain ID; `null` elsewhere                                                                                                                                   |
| `caip2`              | string \| null | CAIP-2 identifier accepted as an alias, or `null`                                                                                                                |
| `native`             | Asset          | The native coin                                                                                                                                                  |
| `finality`           | object         | `basis`, `economic`, `confirmed_depth`, `final_depth` (`null` where `final` is a consensus signal or unavailable), `final_available` (`false` on TRON)           |
| `capabilities`       | object         | What the network supports — field by field in [Network Capabilities](https://docs-unified.crypto-chief.com/getting-started/network-capabilities.md#capabilities) |
| `readiness`          | object         | State of each data source now: `ok`, `degraded`, `unavailable`                                                                                                   |
| `status.head`        | string         | Height of the current head                                                                                                                                       |
| `status.head_hash`   | string         | Hash of the head block                                                                                                                                           |
| `status.finalized`   | string \| null | Height of the latest finalized block; `null` where the network has no separate finalized head                                                                    |
| `status.head_time`   | string         | Timestamp of the head block                                                                                                                                      |
| `status.lag_seconds` | number         | Seconds since `head_time`                                                                                                                                        |

### Get a network

`GET /v1/networks/{network}`

| Parameter | In   | Description                  |
| --------- | ---- | ---------------------------- |
| `network` | path | Network code or CAIP-2 alias |

```bash
curl -s "https://api-unified.crypto-chief.com/v1/networks/TRON_MAINNET" \
  -H "X-API-Key: $CC_API_KEY"
```

```json
{
  "id": "TRON_MAINNET",
  "family": "tron",
  "name": "TRON",
  "testnet": false,
  "chain_id": null,
  "caip2": null,
  "native": {
    "network": "TRON_MAINNET", "id": "native", "kind": "native", "standard": "native",
    "contract": null, "token_id": null, "symbol": "TRX", "decimals": 6, "name": "TRON",
    "logo_url": null, "listed": true, "spam": { "status": "clean", "reasons": [] }, "flags": []
  },
  "finality": { "basis": "solidified", "economic": true, "confirmed_depth": 2, "final_depth": null, "final_available": false },
  "capabilities": {
    "balances": { "native": true, "tokens": "all", "at": false, "source": "native" },
    "transfers": {
      "types": ["transfer.native", "transfer.token", "nft.transfer"],
      "source": "native",
      "history_from": null,
      "indexed_through": null,
      "gaps": []
    },
    "transactions": true,
    "internal_native": "full",
    "memo": null,
    "nfts": { "transfers": true, "holdings": true, "metadata": "fetched", "gaps": [] },
    "holders": "full",
    "approvals": true,
    "utxos": false,
    "xpub": false,
    "fees": true,
    "broadcast": true,
    "simulate": true,
    "names": [],
    "events_search": {
      "types": ["transfer.native", "transfer.token", "nft.transfer"],
      "max_block_range": 1000,
      "source": "native"
    },
    "eventstream": true
  },
  "readiness": { "native": "ok" },
  "status": {
    "head": "77120334",
    "head_hash": "000000000498b89e1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b9c8d9f1c",
    "finalized": null,
    "head_time": "2026-11-29T10:00:00.000Z",
    "lag_seconds": 1
  }
}
```

An unknown code is `400 UNKNOWN_NETWORK`.

### Fee estimate

`GET /v1/networks/{network}/fees`

The current price of block space at three speeds, and the typical total fee of a plain transfer.

| Parameter | In   | Description                  |
| --------- | ---- | ---------------------------- |
| `network` | path | Network code or CAIP-2 alias |

```bash
curl -s "https://api-unified.crypto-chief.com/v1/networks/ETH_MAINNET/fees" \
  -H "X-API-Key: $CC_API_KEY"
```

```json
{
  "network": "ETH_MAINNET",
  "unit": "wei",
  "slow": { "price": "12500000000", "eta_seconds": 36 },
  "normal": { "price": "13500000000", "eta_seconds": 12 },
  "fast": { "price": "16000000000", "eta_seconds": 12 },
  "native_transfer": { "raw": "283500000000000", "decimals": 18, "scale": null, "value": "0.0002835" },
  "token_transfer": { "raw": "877500000000000", "decimals": 18, "scale": null, "value": "0.0008775" },
  "details": { "base_fee": "12000000000", "priority_fee": "1500000000" }
}
```

| Field                    | Description                                                                                                                           |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- |
| `unit`                   | Unit of `price`: `wei` per gas (EVM), `sun` (TRON), `lamports` (Solana), `nanoton` (TON), `drops` (XRP Ledger), `sat/vB` (UTXO)       |
| `slow`, `normal`, `fast` | `price` in `unit`, and `eta_seconds` — expected seconds to inclusion                                                                  |
| `native_transfer`        | Typical total fee of a native transfer at `normal`, in the native coin                                                                |
| `token_transfer`         | Typical total fee of a token transfer — an ERC-20 transfer on EVM, a TRC-20 transfer with its energy on TRON; `null` on UTXO networks |
| `details`                | Network-specific parameters as strings: `base_fee` and `priority_fee` on EVM, `energy_price` and `bandwidth_price` on TRON            |

A network without fee estimates is `422 UNSUPPORTED_CAPABILITY`.
