PUB wss://test-api.synquote.com/ws
Requests an account token. The token must be signed with the account's wallet returned via the authenticate message to authenticate the WebSocket connection.
REQUEST
HEADER PARAMS
msg_type string required |
id number required |
version integer required |
BODY PARAMS
account_id string required |
Example
[
{
"msg_type":"get_account_token",
"id": 1002,
"version": 1
},
{
"account_id": "0x9f58498b98348b9BFbE53F0E18AA818a4Be0aE49"
}
]RESPONSE
account_token string |
Example
[
{
"msg_type":"get_account_token_response",
"id": 1002,
"version": 1
},
{
"account_token": "test_token"
}
]