1 - Users connect to the Websocket
Last updated
Last updated
Start by identifying the keys in the WebSocket backend. This will sign a message through Keychain and send it to the backend. This will also return the pending signature requests and the multisig transaction results recorded by the backend while the user is offline.
Our backend associates each WebSocket connection with a single key. If you want a given user to be able to perform multisig with his active and his posting private keys, you need to initiate two subscriptions.
Property | Description | Type |
---|---|---|
username
Subscribing username
string
keyType
The type of key subscribing to the WebSocket. Can be "Active" or "Posting"
KeychainKeyTypes enum
message
Message to be encrypted to verify the key on the WebSocket backend
string (optional) defaults to username