Websocket API
Connect Websocket
// Put your API keys there
const key = "RlZ4sKsHSr5zmYKIzbtf772J9y9gx8nekd8COrawI5V"
const secret = "cZpZ1vwzOaXuiONfIQVg8h6za97FoHhrwwgoSCNwDAR"
let content = JSON.stringify({
"nonce": 12345,
"timestamp": new Date().valueOf()
})
let signature = CryptoJS.HmacSHA384(content, secret).toString(CryptoJS.enc.Base64)
this.client = new WebSocketClient(this.host, null, null, {
'EFX-Key': key,
'EFX-Sign': signature,
'EFX-Content': content
})Feeds
Requests
Last updated