General

Authenticate

Authenticates the connection with a token from `POST /v1/signin/apikey`.

WSSwss://ws.bit2me.com/v1/tradingauthenticate

Get a token with POST /v1/signin/apikey and send it within 1 minute, the token's lifetime. The gateway verifies the token and rejects users without a verified identity. The connection stays authenticated after the token expires.

Authentication request.

event*string
Valueauthenticate
token*string

Token returned by POST /v1/signin/apikey, valid for 1 minute.

{  "event": "authenticate",  "token": "header.payload.signature"}
{  "event": "authenticate"}