Chains
Supported blockchain networks (GET /v1/chains)
All cached networks, sorted by popularity then name. id is the canonical slug used as network / networkFrom / fromNetwork on other endpoints. aliases are etalon names (not accepted as GET /v1/tokens?network=). Empty cache → { chains: [] }. No query parameters.
Responses
200
List of supported chains
application/json
500
Failed to fetch chains
application/json
get/v1/chains
GET /v1/chains HTTP/1.1
Host: api.yifi.io
Accept: */*
{
"chains": [
{
"id": "ETH",
"name": "Ethereum",
"chainId": 1,
"status": "active",
"supportedEngines": [
"on-chain",
"off-chain"
],
"aliases": [
"ETH",
"ERC20",
"MAINNET"
],
"nativeToken": "ETH",
"blockTime": "text",
"providers": {
"on-chain": [
"lifi"
],
"off-chain": []
},
"explorerUrl": "https://etherscan.io",
"logoUrl": "https://cdn.yifi.io/chains/eth.svg",
"memoNeeded": false
}
]
}Last updated
Was this helpful?