The complete API documentation for our /chains endpoint can be found here.
We are constantly adding new chains to our ecosystem to enable more and more token transfers.
To get a list of all chains that are currently supported, the /chains endpoint can be queried:
constgetChains=async () => {/// chainTypes can be of type SVM and EVM, by default, only EVM chains will be returnedconstoptionalChainTypes="EVM"constresult=awaitaxios.get('https://li.quest/v1/chains', {params: {chainTypes: optionalChainType}); return result.data;}
The result contains a list of chains that looks the following:
{"chains": [ {"id":1,"key":"eth","name":"Ethereum","chainType":"EVM","coin":"ETH","mainnet":true,"logoURI":"https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum.png","tokenlistUrl":"https://gateway.ipfs.io/ipns/tokens.uniswap.org","multicallAddress":"0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696","metamask": { // this information is required to add the chain to your MetaMask wallet"chainId":"0x1","blockExplorerUrls": ["https://etherscan.io/" ],"chainName":"Ethereum Mainnet","nativeCurrency": {"name":"ETH","symbol":"ETH","decimals":18 },"rpcUrls": ["https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161" ] },"nativeToken": {"address":"0x0000000000000000000000000000000000000000","symbol":"ETH","decimals":18,"chainId":1,"name":"ETH","coinKey":"ETH","priceUSD":"1197.56","logoURI":"https://static.debank.com/image/token/logo_url/eth/935ae4e4d1d12d59a99717a24f2540b5.png" } }, ... // all other supported chains will be present in the list ]}