Requesting supported Chains
Find out which chains we currently support.
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:
const getChains = async () => {
const result = await axios.get('https://li.quest/v1/chains');
return result.data;
}
The result contains a list of chains that looks the following:
{
"chains": [
{
"id": 1,
"key": "eth",
"name": "Ethereum",
"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"
]
}
},
... // all other supported chains will be present in the list
]
}
Copy link