Skip to main content

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.

walletAddress
String
The wallet address to filter by.
networks
[Int!]
The network IDs to filter by.
tokens
[String!]
The token IDs (address:networkId) or addresses to request the balance for. Requires a list of networks if only passing addresses. Include native network balances using native as the token address. Only applied when using walletAddress (not walletId). Max 200 tokens.
includeNative
Boolean
Whether to include native network balances in the response (ID will be native:<networkId>). Requires a list of networks. Does not apply when using tokens.
limit
Int
The maximum number of holdings to return. Does not apply when using tokens.
cursor
String
A cursor for use in pagination.
removeScams
Boolean
Whether to remove scam tokens from the response.
sortBy
BalancesSortAttribute
The attribute to sort the list on. Defaults to BALANCE (raw token amount). See BalancesSortAttribute
sortDirection
RankingDirection
The direction to sort the list. Defaults to DESC (highest value first). See RankingDirection
walletId
String
deprecated
The ID of the wallet (walletAddress:networkId).
This field is deprecated. Use walletAddress and networkId instead
filterToken
String
deprecated
Optional token specifically request the balance for. Only works with walletId.
This field is deprecated. Use tokens list instead

Used By

Used as input by
  • balances: Returns list of token balances that a wallet has.