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

# BalancesInput

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

## GraphQL

```
input BalancesInput {
  walletAddress: String
  networks: [Int!]
  tokens: [String!]
  includeNative: Boolean
  limit: Int
  cursor: String
  removeScams: Boolean
  sortBy: BalancesSortAttribute
  sortDirection: RankingDirection
  uiAmountMode: UiAmountMode
  filters: BalanceFilters
}

enum BalancesSortAttribute {
  BALANCE
  USD_VALUE
}

enum RankingDirection {
  ASC
  DESC
}

enum UiAmountMode {
  RAW
  SCALED
}

input NumberFilter {
  gte: Float
  gt: Float
  lte: Float
  lt: Float
}

input BalanceFilters {
  balanceUsd: NumberFilter
  liquidityUsd: NumberFilter
  hasPrice: Boolean
}
```

### Used By

**Used as input by**

* [balances](https://docs.codex.io/api-reference/queries/balances.md): Returns list of token balances that a wallet has.


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