Authentication

To authenticate the web socket connection, you need to send the following message:

{
"op":"authenticate",
"args":[
  "0x516d4746469cf47d2501c49a1d38d351ff0f68ac1f9a3c705a858764498a6271",
  "0x0202151a20fece8aa697f362995cde34fa7ae09b8b774f50804784c5685182b827",
  "1703156861177",
  "0x6944da5e68a585bfbf998e4fc6ac96640a3f67501c09f30ee69a36031a595d2",
  "0x4003eb1b2e50d044a6860359cb0746181e6790efa242c9e82fb9128626e5884"
]}

Here args contains the following:

  accountId,
  publicKey,
  timestamp,
  signature.r,
  signature.s,

Signature it is signed string timestamp={timestamp}

Last updated