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.

walletId
String!
The ID of the wallet (walletAddress:networkId).
tokenId
String!
The ID of the token (tokenAddress:networkId).
address
String!
The wallet address.
networkId
Int!
The wallet network.
tokenAddress
String!
The contract address of the token.
balance
String!
The balance held by the wallet.
shiftedBalance
Float!
The balance held by the wallet, adjusted by the number of decimals in the token.
balanceUsd
String
The balance held by the wallet in USD.
tokenPriceUsd
String
The token price in USD.
firstHeldTimestamp
Int
The time that this address first held a token.
token
EnhancedToken
Metadata for the token. See EnhancedToken
liquidityUsd
String
The liquidity of the token in USD.

Used By

Returned by
  • balances: Returns list of token balances that a wallet has.
  • holders: Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token.
  • onBalanceUpdated: Live-streamed balance updates for a given wallet.
  • onHoldersUpdated: Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token.
  • refreshBalances: Force refreshes the balance for a token in a wallet. EVM only.