Getting Supported Crypto Chains
Returns a list of supported cryptocurrencies and their supported chains.
Sample API request: GET
URL: https://caas-staging.coinme.com/services/cryptoChains
headers:
"Authorization":"asdfghj", //authorization token, required
'User-Agent: partnerapi' //required
Sample API Response:
Successful response:
{
"data": {
"cryptoChains": {
"BTC": {
"code": "BTC",
"name": "Bitcoin",
"decimals": 8,
"supportedChains": [
"BTC"
]
},
"MATIC": {
"code": "MATIC",
"name": "Polygon",
"decimals": 18,
"supportedChains": [
"ETH"
]
},
"ETH": {
"code": "ETH",
"name": "Ethereum",
"decimals": 18,
"supportedChains": [
"ETH"
]
},
"XLM": {
"code": "XLM",
"name": "Stellar Lumens",
"decimals": 7,
"supportedChains": [
"XLM"
]
},
"LINK": {
"code": "LINK",
"name": "Chainlink",
"decimals": 18,
"supportedChains": [
"ETH"
]
},
"DOGE": {
"code": "DOGE",
"name": "Dogecoin",
"decimals": 8,
"supportedChains": [
"DOGE"
]
},
"USDC": {
"code": "USDC",
"name": "USD Coin",
"decimals": 6,
"supportedChains": [
"ETH"
]
},
"LTC": {
"code": "LTC",
"name": "Litecoin",
"decimals": 8,
"supportedChains": [
"LTC"
]
}
}
},
"errorResponse": null
}
Failure response:
{
"data": null,
"errorResponse": {
"timestamp": "2022-05-05T13:41:30.927993Z",
"httpStatus": 200,
"errorData": [
{
"errorCode": "113-404-317-704",
"message": "PartnerProfile resource not found with identifier: 0oa6m8x63q6vlKDds1d7"
}
],
"path": "GET /partner-profile/0oa6m8x63q6vlKDds1d7/currency/chain"
}
}Updated 6 days ago