Yes, I got a syntax error in my frontend which is now resolved. I am very Thankful for your time.

Can you help me in WebSocket as I am able to connect with websocket and also getting the heartbeats but I am not able to subscribe any stock and not getting any response when I am sending the data through websocket. The data is this,

{
"correlationID": "abcde12345",
"action": 1,
"params": {
"mode": 1,
"tokenList": [
{
"exchangeType": 1,
"tokens": [
"10626",
"5290"
]
},
{
"exchangeType": 5,
"tokens": [
"234230",
"234235",
"234219"
]
}
]
}
}

And I am getting a binary data only and nothing else from websocket.

Can you help me how to use websocket!