v1

latestOpenAPI 3.0.02026-07-17243469.7 KB
Token Lists

get/v2/token-lists/from-token-list

Query parameters

fromChainIdstring required

Id of source chain, e.g Optimism = 10

toChainIdstring required

Id of destination chain, e.g xDAI = 100

disableSwappingboolean

Flag to specify if tokens that need dex swap should be ignored.

includeDexes'oneinch'

Specify Dexes that should be included for token support.

excludeDexes'oneinch'

Specify Dexes that should be excluded for token support. This option will be ignored if includeDexes is specified.

includeBridgesstring[]

Specify Bridges that should be included for token support.

excludeBridgesstring[]

Specify Bridges that should be excluded for token support. This option will be ignored if includeBridges is specified.

singleTxOnlyboolean

To be Marked true if you want the token list that needs only a single transaction from the user to bridge.

isShortListboolean

short list

Headers

API-KEYstring

Response

All Supported token by a given chainId

successboolean required

Status of API.

Example response

{
  "success": true,
  "result": [
    {
      "name": "USD Coin",
      "address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
      "icon": "https://maticnetwork.github.io/polygon-token-assets/assets/usdc.svg",
      "decimals": 6,
      "symbol": "USDC"
    }
  ]
}