Skip to main content
GET
/
getChainList
Get Chain List
curl --request GET \
  --url https://api-v2.swaps.xyz/api/getChainList \
  --header 'x-api-key: <api-key>'
[
  {
    "chainId": 123,
    "name": "<string>",
    "vmId": "evm"
  }
]

Authorizations

x-api-key
string
header
required

Limited demo key for API Reference: 5c951bc81da566bbd030ba8e20724063.

Response

200 - application/json

List of supported chains

chainId
integer
required

Chain ID. Find in the list of supported networks

name
string
required

Human-readable chain name

vmId
enum<string>
required

Virtual machine identifier.

Available options:
evm,
solana,
alt-vm,
hypercore