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

# TokenOfInterest

> The token of interest within a pair. Can be `token0` or `token1`. Reference for the TokenOfInterest enum in the Codex API: every value and where it is accepted.

<div data-generated>
  ## GraphQL

  ```
  enum TokenOfInterest {
    token0
    token1
  }
  ```

  ### Used By

  **Returned by**

  * [getDetailedPairsStats](/api-reference/queries/getdetailedpairsstats.md): Returns bucketed stats for a given token within a list of pairs.
  * [getDetailedPairStats](/api-reference/queries/getdetailedpairstats.md): Returns bucketed stats for a given token within a pair.
  * [getDetailedStats](/api-reference/queries/getdetailedstats.md) *(deprecated)*: Returns bucketed stats for a given token within a pair.
  * [onDetailedStatsUpdated](/api-reference/subscriptions/ondetailedstatsupdated.md): Live-streamed bucketed stats for a given token within a pair.

  **Used as input by**

  * [getDetailedPairsStats](/api-reference/queries/getdetailedpairsstats.md): Returns bucketed stats for a given token within a list of pairs.
  * [getDetailedPairStats](/api-reference/queries/getdetailedpairstats.md): Returns bucketed stats for a given token within a pair.
  * [getDetailedStats](/api-reference/queries/getdetailedstats.md) *(deprecated)*: Returns bucketed stats for a given token within a pair.
  * [onDetailedStatsUpdated](/api-reference/subscriptions/ondetailedstatsupdated.md): Live-streamed bucketed stats for a given token within a pair.
</div>


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