Cüzdan Özetini Al
Belirli bir node için bakiye detayları ve ödenmesi gereken kira tutarı dahil olmak üzere cüzdan özet bilgilerini alır.
İstek
GET /v2/admin/node/{node_id}/summary
Parametreler
| İsim | Tür | Konum | Açıklama |
|---|---|---|---|
node_id | string | path | Gerekli. Cüzdan özeti alınacak node'un ID'si |
Başlıklar
| İsim | Açıklama |
|---|---|
Authorization | Gerekli. Kimlik doğrulama için Bearer token |
Örnek
curl --request GET \
--url '\{\{baseUrl\}\}/v2/admin/node/67d5fcdcde5fad5c1fb37d26/summary' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...' \
Yanıt
{
"stable_currencies": [
{
"currency_token": {
"id": "68fb4de0d622a0564999aeb7",
"node_id": "665ae536a6392b75cfd40352",
"type": 1,
"status": 3,
"name": "DigitalOceanCoin",
"symbol": "DGCN",
"total_supply": 0,
"description": "Digitalocean coin",
"decimals": 6,
"meta": {
"logo": {
"url": "https://fra1.digitaloceanspaces.com/apex/dev/currency-token/68fb4de0d622a0564999aeb7/logo/c92b945b-c846-442b-9019-888f3b4d39df.png",
"hash": "eb7dd8fc9d7d1e5f92b4cb9c1f3fba1537bf1ef007a77d4f7af918928d590de8"
}
},
"contract": {
"address": "0xd54549a98607c71cf67a4e0e83d84094971df3b7",
"tx_hash": "0xa4d1bbe5bc5309bce7c44c0c8259e4b8d59b80b7395e4acc047968340897c357"
},
"is_active": false,
"created_at": "2025-10-24T09:58:56.792Z",
"updated_at": "2025-10-26T21:50:10.499Z"
},
"amount": 0
}
],
"balance_native": 0.10861192205980251,
"balance_native_symbol": "ETH",
"balance_native_logo": "https://s3.tokenizationtr.com/currencies/eth.svg",
"rent_amount_due": null
}
Yanıt Alanları
| Alan | Tür | Açıklama |
|---|---|---|
stable_currencies | array | Stabil para birimi tokenlarının bakiye listesi |
stable_currencies[].currency_token | object | Para birimi tokenı metadata nesnesi |
stable_currencies[].amount | number | Token bakiye miktarı |
balance_native | number | Yerel coin bakiyesi (örn. ETH) |
balance_native_symbol | string | Yerel coin sembolü |
balance_native_logo | string | Yerel coin logo URL’si |
rent_amount_due | number veya null | Ödenmesi gereken kira tutarı (yoksa null) |
Durum Kodları
| Durum Kodu | Açıklama |
|---|---|
| 200 | Başarılı |
| 401 | Yetkisiz - Geçersiz veya eksik kimlik doğrulama token'ı |
| 404 | Bulunamadı - Node ID mevcut değil |
| 500 | Dahili Sunucu Hatası |