Skip to main content
GET
/
v1
/
chains
List supported chains
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"
      }
    }
  ]
}
The Alyra API is not yet public. For details, please contact our team.

Example requests for /v1/chains

Fetch all chains

import axios from "axios";

const chains = await axios.get("https://api.alyra.finance/v1/chains");

console.log(chains);

Fetch only EVM chains

import axios from "axios";

const chainsEVM = await axios.get("https://api.alyra.finance/v1/chains", {
  params: { chainTypes: "EVM" }
});

console.log(chainsEVM);

Query Parameters

chainTypes
string

List of chain types to include (EVM,SVM).

Examples:

"EVM"

"EVM, SVM"

Response

List of chains

chains
object[]