Chains
Desteklenen blok zincirleri için referans verisi (örn. Ethereum, Bitcoin).
Kimlik Doğrulama: Bearer token gereklidir.
Chain Listele
Endpoint: GET /api/v1/chains
Sorgu Parametreleri
| Parametre | Tip | Zorunlu | Varsayılan | Açıklama |
|---|---|---|---|---|
| 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",
"name": "Ethereum",
"slug": "ethereum",
"chain_slug": "ethereum"
}
],
"page": 1,
"per_page": 10,
"total": 42
}
Chain ID ile Getir
Endpoint: GET /api/v1/chains/{id}
Yol Parametreleri
| Parametre | Tip | Zorunlu | Açıklama |
|---|---|---|---|
| id | string | Evet | Chain UUID |
Yanıt — 200 OK
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Ethereum",
"slug": "ethereum",
"chain_slug": "ethereum"
}
| Kod | Açıklama |
|---|---|
| 400 | Geçersiz UUID |
| 404 | Chain bulunamadı |