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

# PairChartInput

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

## GraphQL

```
input PairChartInput {
  imageOptions: ChartImageOptions
  chartSettings: PairChartSettings!
}

input ChartImageOptions {
  expirationSeconds: Int
  width: Int
  height: Int
}

enum QuoteToken {
  token0
  token1
}

enum ChartTheme {
  LIGHT
  DARK
}

input PairChartSettings {
  pairAddress: String!
  networkId: Int!
  from: Int
  to: Int
  quoteToken: QuoteToken
  resolution: String
  theme: ChartTheme
}
```

### Used By

**Used as input by**

* [chartUrls](https://docs.codex.io/api-reference/queries/charturls.md): Returns a URL for a pair chart.


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