Get information about all currently supported chains
If you want to learn more about how to use this endpoint please have a look at our guide.
get/v1/chains
Request
- Base URLhttps://li.quest
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
chainTypesstring
Restrict the resulting chains to the given chainTypes. Available values: EVM, SVM, UTXO, MVM, TVM, STL. Pass all values to get every supported chain. If this parameter is omitted, the API returns only EVM chains.
Headers
x-lifi-api-keystring
The apiKey allows you to authenticate on the API.
Response
Example response
{
"chains": [
{
"key": "eth",
"name": "Ethereum",
"coin": "ETH",
"id": 1,
"mainnet": true,
"chainType": "EVM",
"logoURI": "https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum.svg",
"tokenlistUrl": "https://gateway.ipfs.io/ipns/tokens.uniswap.org",
"multicallAddress": "0xcA11bde05977b3631167028862bE2a173976CA11",
"diamondAddress": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE",
"metamask": {
"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",
"decimals": 18,
"symbol": "ETH",
"chainId": 1,
"coinKey": "ETH",
"name": "ETH",
"logoURI": "https://static.debank.com/image/token/logo_url/eth/935ae4e4d1d12d59a99717a24f2540b5.png",
"priceUSD": "2582.35"
}
},
{
"key": "out",
"name": "Robinhood Chain",
"coin": "ETH",
"id": 4663,
"mainnet": true,
"logoURI": "https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/robinhood.svg",
"multicallAddress": "0xcA11bde05977b3631167028862bE2a173976CA11",
"diamondAddress": "0xB477751B76CF82d00a686A1232f5fCD772414Af3",
"metamask": {
"chainId": "0x1237",
"blockExplorerUrls": [
"https://robinhoodchain.blockscout.com/"
],
"chainName": "Robinhood Chain",
"nativeCurrency": {
"name": "ETH",
"symbol": "ETH",
"decimals": 18
},
"rpcUrls": [
"https://rpc.mainnet.chain.robinhood.com/"
]
}
},
{
"key": "pol",
"name": "Polygon",
"coin": "MATIC",
"id": 137,
"mainnet": true,
"logoURI": "https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/polygon.svg",
"tokenlistUrl": "https://unpkg.com/quickswap-default-token-list@1.0.71/build/quickswap-default.tokenlist.json",
"faucetUrls": [
"https://stakely.io/faucet/polygon-matic"
],
"metamask": {
"chainId": "0x89",
"blockExplorerUrls": [
"https://polygonscan.com/",
"https://explorer-mainnet.maticvigil.com/"
],
"chainName": "Matic(Polygon) Mainnet",
"nativeCurrency": {
"name": "MATIC",
"symbol": "MATIC",
"decimals": 18
},
"rpcUrls": [
"https://polygon-rpc.com/",
"https://polygon.llamarpc.com/"
]
}
},
{
"key": "bsc",
"name": "BSC",
"coin": "BNB",
"id": 56,
"mainnet": true,
"logoURI": "https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/bsc.svg",
"tokenlistUrl": "https://tokens.pancakeswap.finance/pancakeswap-extended.json",
"faucetUrls": [
"https://stakely.io/faucet/bsc-chain-bnb"
],
"metamask": {
"chainId": "0x38",
"blockExplorerUrls": [
"https://bscscan.com/"
],
"chainName": "Binance Smart Chain Mainnet",
"nativeCurrency": {
"name": "BNB",
"symbol": "BNB",
"decimals": 18
},
"rpcUrls": [
"https://bsc-dataseed.binance.org/",
"https://bsc-dataseed1.defibit.io/",
"https://bsc-dataseed1.ninicoin.io/"
]
}
},
{
"key": "dai",
"name": "Gnosis",
"coin": "DAI",
"id": 100,
"mainnet": true,
"logoURI": "https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/gnosis.svg",
"tokenlistUrl": "https://tokens.honeyswap.org/",
"faucetUrls": [
"https://stakely.io/faucet/xdai-chain"
],
"metamask": {
"chainId": "0x64",
"blockExplorerUrls": [
"https://blockscout.com/xdai/mainnet/"
],
"chainName": "Gnosis Chain",
"nativeCurrency": {
"name": "xDai",
"symbol": "xDai",
"decimals": 18
},
"rpcUrls": [
"https://rpc.gnosischain.com/",
"https://rpc.xdaichain.com/",
"https://dai.poa.network/"
]
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.