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

# PairRankingAttribute

> The attribute used to rank tokens. Reference for the PairRankingAttribute enum in the Codex API: every value and where it is accepted.

## GraphQL

```
enum PairRankingAttribute {
  poolFeeBps
  riskScore
  riskFlaggedAt
  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
}
```

### Used By

**Used as input by**

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


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