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

# PairRanking

> Input type of `PairRanking`.

<div data-generated>
  ## GraphQL

  ```
  input PairRanking {
    attribute: PairRankingAttribute
    direction: RankingDirection
  }

  enum PairRankingAttribute {
    createdAt
    lastTransaction
    buyCount1
    buyCount4
    buyCount12
    buyCount24
    highPrice1
    highPrice4
    highPrice12
    highPrice24
    liquidity
    lockedLiquidityPercentage
    lowPrice1
    lowPrice4
    lowPrice12
    lowPrice24
    marketCap
    price
    priceChange1
    priceChange4
    priceChange12
    priceChange24
    volumeChange1
    volumeChange4
    volumeChange12
    volumeChange24
    sellCount1
    sellCount4
    sellCount12
    sellCount24
    trendingScore
    trendingScore5m
    trendingScore1
    trendingScore4
    trendingScore12
    trendingScore24
    txnCount1
    txnCount4
    txnCount12
    txnCount24
    uniqueBuys1
    uniqueBuys4
    uniqueBuys12
    uniqueBuys24
    uniqueSells1
    uniqueSells4
    uniqueSells12
    uniqueSells24
    uniqueTransactions1
    uniqueTransactions4
    uniqueTransactions12
    uniqueTransactions24
    volumeUSD1
    volumeUSD4
    volumeUSD12
    volumeUSD24
    buyVolumeUSD1
    buyVolumeUSD4
    buyVolumeUSD12
    buyVolumeUSD24
    sellVolumeUSD1
    sellVolumeUSD4
    sellVolumeUSD12
    sellVolumeUSD24
    walletAgeAvg
    walletAgeStd
    swapPct1dOldWallet
    swapPct7dOldWallet
  }

  enum RankingDirection {
    ASC
    DESC
  }
  ```

  ### Used By

  **Used as input by**

  * [filterPairs](/api-reference/queries/filterpairs.md): Returns a list of pairs based on a variety of filters.
</div>
