1⃣
Meta
Supported chains, tokens and swappers
To get the list of available blockchains, tokens, and swappers (dex or bridge) supported by Rango, you could use the
meta
method like this:const meta = await rangoClient.meta()
Here is a sample of what you have inside the meta response:
meta sample
1
{
2
"tokens": [{
3
"blockchain": "FANTOM",
4
"symbol": "BTC",
5
"address": "0x321162cd933e2be498cd2267a90534a804051b11",
6
"decimals": 8,
7
"image": "https://api.rango.exchange/i/fKDeds",
8
"usdPrice": 21686.36
9
}],
10
11
"blockchains": [{
12
"name": "ETH",
13
"shortName": "ETH",
14
"displayName": "Ethereum",
15
"defaultDecimals": 18,
16
"addressPatterns": ["^(0x)[0-9A-Fa-f]{40}$"],
17
"feeAssets": [{"blockchain": "ETH", "symbol": "ETH", "address": null}],
18
"type": "EVM",
19
"chainId": "1",
20
"logo": "https://api.rango.exchange/blockchains/ethereum.svg",
21
"color": "#ecf0f1",
22
"enabled": true,
23
"info": {
24
"chainName": "Ethereum Mainnet",
25
"nativeCurrency": {"name": "ETH", "symbol": "ETH", "decimals": 18},
26
"rpcUrls": ["https://rpc.ankr.com/eth"],
27
"blockExplorerUrls": ["https://etherscan.io"],
28
"addressUrl": "https://etherscan.io/address/{wallet}",
29
"transactionUrl": "https://etherscan.io/tx/{txHash}"
30
}
31
}],
32
33
"swappers": [{
34
"id": "cBridge v2.0",
35
"title": "cBridge v2.0",
36
"logo": "https://api.rango.exchange/swappers/cbridge.png",
37
"types": ["BRIDGE"]
38
}]
39
}
Last modified 8mo ago