GET /v2/token-lists/to-token-list
Changed onRequest
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Id of source chain, e.g Optimism = 10
Id of destination chain, e.g xDAI = 100
Flag to specify if tokens that need dex swap should be ignored. This option will be ignored if singleTxOnly is marked true.
Specify Dexes that should be included for token support.
Specify Dexes that should be excluded for token support. This option will be ignored if includeDexes is specified.
Specify Bridges that should be included for token support.
Specify Bridges that should be excluded for token support. This option will be ignored if includeBridges is specified.
To be Marked true if you want the token list that needs only a single transaction from the user to bridge.
short list
Headers
Response
All Supported token by a given route
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"
}
]
}Changes
- info
added the new optional
queryrequest parameterisShortList
- info
- warning
deleted the
queryrequest parameterisShortList
- warning