Get Crypto Channels
Retrieve the list of crypto channels (blockchain networks). This is a public endpoint (no authentication required). id values from this endpoint are the cryptoChannelId values used by Crypto Withdrawal Addresses.
Crypto Channels
GET /api/v2/crypto-channels
- 200
[
{ "id": 25, "name": "Bitcoin" },
{ "id": 4, "name": "Trc20" }
]
Response is a raw JSON array (not wrapped in a data envelope).
Code Example
- curl
- C#
curl -X GET "https://api.global.btcturk.com/api/v2/crypto-channels"
using var client = new HttpClient { BaseAddress = new Uri("https://api.global.btcturk.com") };
var response = await client.GetAsync("/api/v2/crypto-channels");
Console.WriteLine(await response.Content.ReadAsStringAsync());