Currencies
Ağ başına token referans verisi.
Kimlik Doğrulama: Bearer token gereklidir.
Currency Listele
Endpoint: GET /api/v1/currencies
Sorgu Parametreleri
| Parametre | Tip | Zorunlu | Varsayılan | Açıklama |
|---|---|---|---|---|
| network_id | string | Hayır | — | Ağ UUID ile filtrele |
| page | int | Hayır | 1 | Sayfa numarası |
| per_page | int | Hayır | 10 | Sayfa başına öğe (max 100) |
Yanıt — 200 OK
{
"items": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"network_id": "550e8400-e29b-41d4-a716-446655440000",
"symbol": "USDT",
"name": "Tether USD",
"slug": "usdt",
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"logo_url": "https://...",
"decimals": 6
}
],
"page": 1,
"per_page": 10,
"total": 42
}
Currency ID ile Getir
Endpoint: GET /api/v1/currencies/{id}
Yol Parametreleri
| Parametre | Tip | Zorunlu | Açıklama |
|---|---|---|---|
| id | string | Evet | Currency UUID |
Yanıt — 200 OK
Liste yanıtındaki tek öğe yapısıyla aynı.
| Kod | Açıklama |
|---|---|
| 400 | Geçersiz UUID |
| 404 | Currency bulunamadı |