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

    success booleanrequired

    Status of API.

    results

    object[]

    required

  • Array [

  • name string

    Name of token.

    address stringrequired

    Address of token.

    icon string

    URL for icon of token.

    decimals number

    Decimal used for token.

    symbol stringrequired

    Symbol of token.

    chainId stringrequired

    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]

    Chain id of the token

    logoURI string

    URL for icon of token.

    chainAgnosticId string

    Unique Id over all chains

  • ]

Loading...