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

# WalletTokenRankingAttribute

> Attributes for a wallet ranking on a specific token. Reference for the WalletTokenRankingAttribute enum in the Codex API: every value and where it is accepted.

## GraphQL

```
enum WalletTokenRankingAttribute {
  firstTransactionAt
  lastTransactionAt
  tokenAmountBought1d
  tokenAmountSold1d
  amountBoughtUsd1d
  amountSoldUsd1d
  realizedProfitUsd1d
  realizedProfitPercentage1d
  avgHoldPeriodSec1d
  buys1d
  sells1d
  tokenAmountBought1w
  tokenAmountSold1w
  amountBoughtUsd1w
  amountSoldUsd1w
  realizedProfitUsd1w
  realizedProfitPercentage1w
  avgHoldPeriodSec1w
  buys1w
  sells1w
  tokenAmountBought30d
  tokenAmountSold30d
  amountBoughtUsd30d
  amountSoldUsd30d
  realizedProfitUsd30d
  realizedProfitPercentage30d
  avgHoldPeriodSec30d
  buys30d
  sells30d
  tokenAmountBought1y
  tokenAmountSold1y
  amountBoughtUsd1y
  amountSoldUsd1y
  realizedProfitUsd1y
  realizedProfitPercentage1y
  avgHoldPeriodSec1y
  buys1y
  sells1y
  tokenBalance
  purchasedTokenBalance
  tokenAcquisitionCostUsd
  scammerScore
  botScore
}
```

### Used By

**Used as input by**

* [filterTokenWallets](https://docs.codex.io/api-reference/queries/filtertokenwallets.md): Returns a list of wallets with stats narrowed down to a specific token.


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