> ## 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 stats

> Stream MultiversX TPS, block, mempool, shard, and health snapshots from the Relayer stats WebSocket.

Connect to `/ws/stats` to receive read-only MultiversX network snapshots without sending a subscribe message.

## Endpoint

```text theme={"system"}
wss://relayer.xoxno.com/ws/stats
```

Use `/ws` for topic subscriptions and `/ws/stats` for push-only network snapshots.

## Pushed Event

```json theme={"system"}
{
  "type": "networkStats",
  "data": {
    "network": {
      "notarizedTps": 18.5,
      "currentAps": 42
    },
    "mempool": {
      "estimatedQueue": 120,
      "pressure": 0.18
    },
    "shards": {
      "0": {
        "latestNonce": 123456,
        "blockTimeMsP50": 6000
      }
    }
  }
}
```

## Fields

| Field                    | Meaning                                                          |
| ------------------------ | ---------------------------------------------------------------- |
| `network.notarizedTps`   | Notarized transactions per second.                               |
| `network.currentAps`     | Current accounts-per-second signal from account delta ingestion. |
| `mempool.estimatedQueue` | Estimated pending transaction queue.                             |
| `mempool.pressure`       | Queue pressure from `0` to `1`.                                  |
| `shards`                 | Per-shard block and throughput metrics.                          |

## Delivery

| Mode         | Behavior                                                            |
| ------------ | ------------------------------------------------------------------- |
| On connect   | Sends the latest snapshot immediately.                              |
| Periodic     | Default interval is about 6 s, clamped between 500 ms and 30 s.     |
| Event-driven | New blocks or validator state changes can trigger a debounced push. |

## Limits

| Limit           | Value                                                 |
| --------------- | ----------------------------------------------------- |
| Client messages | None; this endpoint is push-only.                     |
| Topic slots     | None; `/ws/stats` does not consume `/ws` topic slots. |
| Reconnect       | Open a new socket and wait for the initial snapshot.  |

## Related Pages

* [WebSocket lifecycle](/relayer/websocket-lifecycle)
* [networkStats event schema](/api-reference/events/network-stats)
* [Gas optimization](/resources/gas-optimization)
