Skip to main content

Returns

Arguments

Usage Guidelines

  • Query using address (contract address) and networkId (chain ID)
  • Token ID format is address:networkId (e.g., 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1)
  • Use the info field for token metadata like images, supply, and descriptions
  • Use socialLinks to get community links (Twitter, Telegram, Discord, website, etc.)
  • Use isScam to check token verification status — isScam: false is Codex’s equivalent of a token being “verified”. There is no separate isVerified field
  • Use launchpad to get information about tokens launched via pump.fun or similar platforms
  • For Solana tokens, use mintable and freezable fields to check token authorities

Troubleshooting Tips

Common network IDs: Ethereum (1), BSC (56), Polygon (137), Arbitrum (42161), Base (8453), Solana (1399811149). See Supported Chains for a complete list, or use the getNetworks query.
Some fields like info.description or socialLinks may be null for newer or less popular tokens that don’t have metadata indexed yet. Core fields like address, networkId, decimals are always available.
The token query returns token metadata, not price data. Use getTokenPrices for current prices, or pairMetadata for price within a specific trading pair.
token returns a single token by exact address and network. filterTokens searches across tokens by name, symbol, or other criteria and returns multiple results.
Check the mintable and freezable fields. If mintable returns an address, the token supply can be increased. If freezable returns an address, your tokens could be frozen. Also check isScam for flagged tokens.