Skip to main content

User Info Socket (Legacy)

Legacy user info soket dokümantasyonu. Burada tarifi yapılan mesajlar /ws/private soket ucundaki user_info stream'den de akmaktadır. Kullanıcı ile ilgili tüm özel bilgileri tek yerden almak için private soket entegrasyonu önerilir.

EnvironmentSocket Base URL
Testwss://testream.crypto-asset-custody.com/user/info
Productionwss://stream.crypto-asset-custody.com/user/info

Authentication

Bağlantılar geçerli x-auth token ile authenticate edilir. Header veya query string parametre olarak gönderilebilir.

x-auth: eyJh...Y-1Y
wss://testream.crypto-asset-custody.com/user/info?x-auth=eyJh...Y-1Y

Client Mesajları

Client tarafından herhangi bir mesaj gönderilmesi gerekmez. Bağlantı açılması yeterlidir.

Server Mesajları

İçinde type ve message alanları olan basit bir json objesi gönderilir.

{
"type": 26,
"message": "Kullanıcıda yeterli bakiye bulunmamaktadır!"
}