Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://earn.li.fi/v1/chains \ --header 'x-lifi-api-key: <api-key>'
[ { "name": "Ethereum", "chainId": 1, "networkCaip": "eip155:1" }, { "name": "Base", "chainId": 8453, "networkCaip": "eip155:8453" }, { "name": "Arbitrum One", "chainId": 42161, "networkCaip": "eip155:42161" } ]
此端点返回 LI.FI 支持的所有区块链的信息,包括链 ID、名称、原生代币和其他相关详细信息。
Supported chains
Human-readable chain name.
"Ethereum"
EVM chain ID.
-9007199254740991 <= x <= 9007199254740991
1
CAIP-2 network identifier.
"eip155:1"