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

# WalletRanking

> A wallet ranking.

<div data-generated>
  ## GraphQL

  ```
  input WalletRanking {
    attribute: WalletRankingAttribute
    direction: RankingDirection
  }

  enum WalletRankingAttribute {
    firstTransactionAt
    lastTransactionAt
    volumeUsd1d
    volumeUsdAll1d
    realizedProfitUsd1d
    averageProfitUsdPerTrade1d
    averageSwapAmountUsd1d
    realizedProfitPercentage1d
    avgHoldPeriodSec1d
    swaps1d
    swapsAll1d
    uniqueTokens1d
    winRate1d
    volumeUsd1w
    volumeUsdAll1w
    realizedProfitUsd1w
    averageProfitUsdPerTrade1w
    averageSwapAmountUsd1w
    realizedProfitPercentage1w
    avgHoldPeriodSec1w
    swaps1w
    swapsAll1w
    uniqueTokens1w
    winRate1w
    volumeUsd30d
    volumeUsdAll30d
    realizedProfitUsd30d
    averageProfitUsdPerTrade30d
    averageSwapAmountUsd30d
    realizedProfitPercentage30d
    avgHoldPeriodSec30d
    swaps30d
    swapsAll30d
    uniqueTokens30d
    winRate30d
    volumeUsd1y
    volumeUsdAll1y
    realizedProfitUsd1y
    averageProfitUsdPerTrade1y
    averageSwapAmountUsd1y
    realizedProfitPercentage1y
    avgHoldPeriodSec1y
    swaps1y
    swapsAll1y
    winRate1y
    nativeTokenBalance
    scammerScore
    botScore
    ethosScore
  }

  enum RankingDirection {
    ASC
    DESC
  }
  ```

  ### Used By

  **Used as input by**

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