Links
Comment on page

Blockchains Metadata

Get list of blockchains supported by Rango
If you want to only receive the metadata for supported blockchains, you can use blockchains metadata endpoint.
cURL
curl 'https://api.rango.exchange/basic/meta/blockchains?apiKey=YOUR_API_KEY' \
-H 'content-type: application/json;charset=UTF-8'
You can try this API on readme.io, also you can check and test other Rango's APIs too.
This is a sample of response for blockchains metadata endpoint:
[
{
"name": "ETH",
"defaultDecimals": 18,
"addressPatterns": [
"^(0x)[0-9A-Fa-f]{40}$"
],
"feeAssets": [
{
"blockchain": "ETH",
"symbol": "ETH",
"address": null
}
],
"type": "EVM",
"chainId": "1",
"logo": "https://api.rango.exchange/blockchains/ethereum.svg",
"displayName": "Ethereum",
"shortName": "ETH",
"sort": 0,
"color": "#ecf0f1",
"enabled": true,
"info": {
"infoType": "EvmMetaInfo",
"chainName": "Ethereum Mainnet",
"nativeCurrency": {
"name": "ETH",
"symbol": "ETH",
"decimals": 18
},
"rpcUrls": [
"https://rpc.ankr.com/eth"
],
"blockExplorerUrls": [
"https://etherscan.io"
],
"addressUrl": "https://etherscan.io/address/{wallet}",
"transactionUrl": "https://etherscan.io/tx/{txHash}",
"enableGasV2": true
}
},
{
"name": "BTC",
"defaultDecimals": 8,
"addressPatterns": [
"^[13][a-km-zA-HJ-NP-Z1-9]{25,34}$|^(bc1)[0-9A-Za-z]{39,59}$"
],
"feeAssets": [
{
"blockchain": "BTC",
"symbol": "BTC",
"address": null
}
],
"type": "TRANSFER",
"chainId": "",
"logo": "https://api.rango.exchange/blockchains/btc.svg",
"displayName": "Bitcoin",
"shortName": "BTC",
"sort": 10,
"color": "#F7931A",
"enabled": true,
"info": null
},
{
"name": "COSMOS",
"defaultDecimals": 6,
"addressPatterns": [
"^(cosmos1)[0-9a-z]{38}$"
],
"feeAssets": [
{
"blockchain": "COSMOS",
"symbol": "ATOM",
"address": null
}
],
"type": "COSMOS",
"chainId": "cosmoshub-4",
"logo": "https://api.rango.exchange/blockchains/cosmos.svg",
"displayName": "Cosmos",
"shortName": "Cosmos",
"sort": 11,
"color": "#2E3148",
"enabled": true,
"info": {
"infoType": "CosmosMetaInfo",
"experimental": false,
"rpc": "https://cosmos-rpc.polkachu.com",
"rest": "https://lcd-cosmoshub.keplr.app",
"cosmostationLcdUrl": "https://lcd-cosmos.cosmostation.io",
"cosmostationApiUrl": "https://api-cosmos.cosmostation.io",
"cosmostationDenomTracePath": "/ibc/apps/transfer/v1/denom_traces/",
"mintScanName": "cosmos",
"chainName": "Cosmos",
"stakeCurrency": {
"coinDenom": "ATOM",
"coinMinimalDenom": "uatom",
"coinDecimals": 6,
"coinGeckoId": "cosmos",
"coinImageUrl": "/tokens/blockchain/cosmos.svg"
},
"bip44": {
"coinType": 118
},
"bech32Config": {
"bech32PrefixAccAddr": "cosmos",
"bech32PrefixAccPub": "cosmospub",
"bech32PrefixValAddr": "cosmosvaloper",
"bech32PrefixValPub": "cosmosvaloperpub",
"bech32PrefixConsAddr": "cosmosvalcons",
"bech32PrefixConsPub": "cosmosvalconspub"
},
"currencies": [
{
"coinDenom": "ATOM",
"coinMinimalDenom": "uatom",
"coinDecimals": 6,
"coinGeckoId": "cosmos",
"coinImageUrl": "/tokens/blockchain/cosmos.svg"
}
],
"feeCurrencies": [
{
"coinDenom": "ATOM",
"coinMinimalDenom": "uatom",
"coinDecimals": 6,
"coinGeckoId": "cosmos",
"coinImageUrl": "/tokens/blockchain/cosmos.svg"
}
],
"features": [
"stargate",
"ibc-transfer"
],
"explorerUrlToTx": "https://www.mintscan.io/cosmos/txs/{txHash}",
"gasPriceStep": {
"low": 0.01,
"average": 0.025,
"high": 0.04
}
}
},
{
"name": "SOLANA",
"defaultDecimals": 9,
"addressPatterns": [
"^[1-9A-HJ-NP-Za-km-z]{32,44}$"
],
"feeAssets": [
{
"blockchain": "SOLANA",
"symbol": "SOL",
"address": null
}
],
"type": "SOLANA",
"chainId": "mainnet-beta",
"logo": "https://api.rango.exchange/blockchains/solana.svg",
"displayName": "Solana",
"shortName": "Solana",
"sort": 14,
"color": "#708DD2",
"enabled": true,
"info": null
},
...
]