Skip to main content

TokenListController_getTokenListByChain

GET 

/v2/token-lists/chain

TokenListController_getTokenListByChain

Request​

Query Parameters

    chainId stringrequired

    Id of chain, e.g Optimism = 10

    Example: 10
    isShortList boolean

    Only gives a short important list instead of all tokens

    Example: 10

Header Parameters

    API-KEY string

Responses​

All Supported token by a given route

Schema

    successbooleanrequired

    Status of API.

    Example: true

    results

    object[]

    required

  • Array [

  • namestring

    Name of token.

    Example: USD Coin
    addressstringrequired

    Address of token.

    Example: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174
    iconstring

    URL for icon of token.

    Example: https://maticnetwork.github.io/polygon-token-assets/assets/usdc.svg
    decimalsnumber

    Decimal used for token.

    Example: 6
    symbolstringrequired

    Symbol of token.

    Example: USDC
    chainIdstringrequired

    Chain id of the token

    Possible values: [MAINNET_CHAIN_ID, OPTIMISM_CHAIN_ID, BSC_CHAIN_ID, XDAI_CHAIN_ID, POLYGON_CHAIN_ID, FANTOM_CHAIN_ID, ZKSYNC_ERA_CHAIN_ID, POLYGON_ZKEVM_CHAIN_ID, MANTLE_CHAIN_ID, BASE_CHAIN_ID, MODE_CHAIN_ID, ARBITRUM_CHAIN_ID, AVAX_CHAIN_ID, LINEA_CHAIN_ID, BLAST_CHAIN_ID, SCROLL_CHAIN_ID, ZORA_CHAIN_ID, AURORA_CHAIN_ID]

    Example: 137
    logoURIstring

    URL for icon of token.

    Example: https://maticnetwork.github.io/polygon-token-assets/assets/usdc.svg
    chainAgnosticIdstring

    Unique Id over all chains

    Example: DAI
  • ]