Returns all supported chains. Optionally filter by chain types.
cURL
curl --request GET \ --url https://api.alyra.finance/v1/chains
{ "chains": [ { "key": "eth", "name": "Ethereum", "chainType": "EVM", "id": 1, "idHex": "0x1", "mainnet": true, "logoURI": "https://raw.githubusercontent.com/AlyraLabs/types/main/src/assets/icons/chains/ethereum.svg", "tokenlistUrl": "https://gateway.ipfs.io/ipns/tokens.uniswap.org", "multicallAddress": "0xcA11bde05977b3631167028862bE2a173976CA11", "rpcUrls": [ "https://ethereum-rpc.publicnode.com", "https://eth.drpc.org" ], "blockExplorerUrls": "https://etherscan.io/", "nativeToken": { "address": "0x0000000000000000000000000000000000000000", "decimals": 18, "symbol": "ETH", "chainId": 1, "coinKey": "ETH", "name": "ETH", "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png" } } ] }
/v1/chains
import axios from "axios"; const chains = await axios.get("https://api.alyra.finance/v1/chains"); console.log(chains);
import axios from "axios"; const chainsEVM = await axios.get("https://api.alyra.finance/v1/chains", { params: { chainTypes: "EVM" } }); console.log(chainsEVM);
List of chain types to include (EVM,SVM).
"EVM"
"EVM, SVM"
List of chains
Show child attributes