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

# NetworkBarsInput

> Input for `getNetworkBars`. Reference for the NetworkBarsInput input object in the Codex API: every field, its type, and the operations that accept it.

## GraphQL

```
input NetworkBarsInput {
  networkId: Int!
  resolution: NetworkBarsResolution!
  from: Int!
  to: Int!
}

enum NetworkBarsResolution {
  hour1
  day1
}
```

### Used By

**Used as input by**

* [getNetworkBars](https://docs.codex.io/api-reference/queries/getnetworkbars.md): Returns a network's stats for each hour or UTC day in a time range, for charts.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.