Kullanıcı Cüzdan Özetini ID ile Al
Belirli bir kullanıcı için cüzdan özet bilgilerini alır, stabil para birimi token bakiyeleri ve yerel coin bakiyesi dahil.
İstek
GET /v2/users/users/{user_id}/wallet/summary
Parametreler
| Ad | Tip | Konum | Açıklama |
|---|---|---|---|
user_id | string | path | Gerekli. Cüzdan özeti alınacak kullanıcının ID'si |
Başlıklar
| Ad | Açıklama |
|---|---|
Authorization | Gerekli. Kimlik doğrulama için Bearer token |
Örnek
curl --location '\{\{baseUrl\}\}/v2/users/users/68ed406a81b27dad0cf2a5e2/wallet/summary' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRJRCI6IjhmMzEwOWExLTYyMmMtNDVhZC1hYjI4LTg0ODE5N2ZiMDYwYSIsImV4cGlyYXRpb24iOjE3NjI5NDg5NTksInN1cGVydmlzb3JFbWFpbCI6InViZXJAYXBleC5jb20iLCJzdXBlcnZpc29ySUQiOiI2NjViMzcyZjNhNzJkN2QwNzkxNTk2YmEiLCJzdXBlcnZpc29yTm9kZUlEIjoiNjY1YWU1MzZhNjM5MmI3NWNmZDQwMzUyIiwic3VwZXJ2aXNvck5vZGVJbnRJRCI6MSwic3VwZXJ2aXNvck5vZGVQYXRoIjoiMSIsInN1cGVydmlzb3JSb2xlSUQiOiI2NjVhZTc5NjEwY2UyMTZkYmMzNWM5M2IiLCJzdXBlcnZpc29yUm9sZVByaW9yaXR5IjoxMDB9.OAK93_mbJET99ztAyvSbh2x-NY2wbR42dyaZZlPJyqs'
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"
}
},
"contract": {
"address": "0xd54549a98607c71cf67a4e0e83d84094971df3b7"
},
"is_active": false,
"created_at": "2025-10-24T09:58:56.792Z",
"updated_at": "2025-10-26T21:50:10.499Z"
},
"amount": 0
},
{
"currency_token": {
"id": "68fe8c129367fd414b227c7a",
"node_id": "665ae536a6392b75cfd40352",
"type": 1,
"status": 3,
"name": "IsCoin",
"symbol": "ISCN",
"total_supply": 17909.9995,
"description": "Iscoin",
"decimals": 6,
"meta": {
"logo": {
"url": "https://fra1.digitaloceanspaces.com/apex/dev/currency-token/68fe8c129367fd414b227c7a/logo/426d406f-f5da-47f6-abee-ddad617000c5.png"
}
},
"contract": {
"address": "0x073c0196e516a0e77b1c804d1825fb1bad23895d"
},
"is_active": false,
"created_at": "2025-10-26T21:01:06.035Z",
"updated_at": "2025-10-31T20:22:02.864Z"
},
"amount": 988.4805
},
{
"currency_token": {
"id": "6900a1fd2a4de1c5748e9dcc",
"node_id": "665ae536a6392b75cfd40352",
"type": 1,
"status": 3,
"name": "USD Coin",
"symbol": "USDC",
"total_supply": 0,
"description": "Stablecoin pegged to USD on Holesky",
"decimals": 6,
"meta": {
"logo": {
"url": "https://s3.tokenizationtr.com/currencies/usdc.svg"
}
},
"contract": {
"address": "0x6810572a2e15fd1508b485b053417e9397e70f49"
},
"is_active": false,
"created_at": "2025-10-28T10:59:09.752Z",
"updated_at": "2025-10-28T10:59:09.752Z"
},
"amount": 0
},
{
"currency_token": {
"id": "6900a1fd2a4de1c5748e9dcd",
"node_id": "665ae536a6392b75cfd40352",
"type": 1,
"status": 3,
"name": "Tether USD",
"symbol": "USDT",
"total_supply": 0,
"description": "Stablecoin pegged to USD on Holesky",
"decimals": 6,
"meta": {
"logo": {
"url": "https://s3.tokenizationtr.com/currencies/usdt.svg"
}
},
"contract": {
"address": "0xdb2e8354c2a2a0f9c7c889ec27cdd424d49c8fd1"
},
"is_active": false,
"created_at": "2025-10-28T10:59:09.76Z",
"updated_at": "2025-10-28T10:59:09.76Z"
},
"amount": 3.384
}
],
"balance_native": 0.8006712018779228,
"balance_native_symbol": "ETH",
"balance_native_logo": "https://s3.tokenizationtr.com/currencies/eth.svg"
}
Yanıt Alanları
| Alan | Tip | Açıklama |
|---|---|---|
stable_currencies | array | Stabil para birimi token bakiyelerinin listesi |
stable_currencies[].currency_token | object | Para birimi token metadata nesnesi |
stable_currencies[].currency_token.id | string | Para birimi token için benzersiz tanımlayıcı |
stable_currencies[].currency_token.node_id | string | Bu para birimi tokenını sahip olan node'un ID'si |
stable_currencies[].currency_token.type | integer | Para birimi token tipi |
stable_currencies[].currency_token.status | integer | Para birimi token durumu |
stable_currencies[].currency_token.name | string | Para birimi token adı |
stable_currencies[].currency_token.symbol | string | Para birimi token sembolü |
stable_currencies[].currency_token.total_supply | number | Para birimi token toplam arzı |
stable_currencies[].currency_token.description | string | Para birimi token açıklaması |
stable_currencies[].currency_token.decimals | integer | Ondalık basamak sayısı |
stable_currencies[].currency_token.meta | object | Para birimi token için metadata |
stable_currencies[].currency_token.meta.logo | object | Logo bilgileri |
stable_currencies[].currency_token.meta.logo.url | string | Logo görselinin URL'si |
stable_currencies[].currency_token.contract | object | Kontrat bilgileri |
stable_currencies[].currency_token.contract.address | string | Blockchain üzerindeki kontrat adresi |
stable_currencies[].currency_token.is_active | boolean | Para birimi tokenın aktif olup olmadığı |
stable_currencies[].currency_token.created_at | string | Para birimi tokenın oluşturulduğu ISO 8601 zaman damgası |
stable_currencies[].currency_token.updated_at | string | Para birimi tokenın son güncellendiği ISO 8601 zaman damgası |
stable_currencies[].amount | number | Bu para birimi token için 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 |
Durum Kodları
| Durum Kodu | Açıklama |
|---|---|
| 200 | Başarılı - Cüzdan özeti başarıyla alındı |
| 401 | Yetkisiz - Geçersiz veya eksik kimlik doğrulama token'ı |
| 404 | Bulunamadı - Kullanıcı ID'si mevcut değil |
| 500 | İç Sunucu Hatası |