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

# ExchangeRanking

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

## GraphQL

```
input ExchangeRanking {
  attribute: ExchangeRankingAttribute
  direction: RankingDirection
}

enum ExchangeRankingAttribute {
  txnCount1
  txnCount4
  txnCount12
  txnCount24
  volumeUSD1
  volumeUSD4
  volumeUSD12
  volumeUSD24
  volumeNBT1
  volumeNBT4
  volumeNBT12
  volumeNBT24
  dailyActiveUsers
  monthlyActiveUsers
}

enum RankingDirection {
  ASC
  DESC
}
```

### Used By

**Used as input by**

* [filterExchanges](https://docs.codex.io/api-reference/queries/filterexchanges.md): Returns a list of exchanges based on a variety of filters.


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