Links
Comment on page
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:
Typescript
cURL
const meta = await rangoClient.meta()
curl 'https://api.rango.exchange/basic/meta?apiKey=YOUR_API_KEY' \
-H 'content-type: application/json;charset=UTF-8'
Here is a sample of what you have inside the meta response:
meta sample
1
{
2
"tokens": [{
3
"blockchain": "ETH",
4
"symbol": "USDT",
5
"image": "https://api.rango.exchange/tokens/ETH/USDT.png",
6
"address":"0xdac17f958d2ee523a2206206994597c13d831ec7",
7
"usdPrice": 1.001,
8
"decimals": 6,
9
"name": "USDT",
10
"isPopular": true,
11
"isSecondaryCoin": false,
12
"coinSource": null,
13
"coinSourceUrl": null,
14
"supportedSwappers": [
15
"ThorChain", "Arbitrum Bridge" //, ...
16
]
17
}],
18
"blockchains": [{
19
"name": "ETH",
20
"defaultDecimals": 18,
21
"addressPatterns": ["^(0x)[0-9A-Fa-f]{40}$"],
22
"feeAssets": [{
23
"blockchain": "ETH",
24
"symbol": "ETH",
25
"address": null
26
}],
27
"logo": "https://api.rango.exchange/blockchains/ethereum.svg",
28
"displayName": "Ethereum",
29
"shortName": "ETH",
30
"sort": 0,
31
"color": "#ecf0f1",
32
"enabled": true,
33
"type": "EVM",
34
"chainId": "0x1",
35
"info": {
36
"infoType": "EvmMetaInfo",
37
"chainName": "Ethereum Mainnet",
38
"nativeCurrency": {
39
"name": "ETH",
40
"symbol": "ETH",
41
"decimals": 18
42
},
43
"rpcUrls": ["https://rpc.ankr.com/eth"],
44
"blockExplorerUrls": ["https://etherscan.io"],
45
"addressUrl": "https://etherscan.io/address/{wallet}",
46
"transactionUrl": "https://etherscan.io/tx/{txHash}",
47
"enableGasV2": true
48
}
49
}],
50
"swappers": [{
51
"id": "Across",
52
"title": "Across",
53
"logo": "https://api.rango.exchange/swappers/across.png",
54
"swapperGroup": "Across",
55
"types": ["BRIDGE"],
56
"enabled": true
57
}]
58
}