6 - Users both receive a successful broadcast notification

The user can receive a broadcast notification either through subscribing to Websocket or through real-time broadcast notifications.

When the user has successfully subscribed to the WebSocket, they may then proceed to subscribe to real-time broadcast notifications.

const broadcastCallback:SignatureRequestCallback = async (message: SignatureRequest) => {
    console.log(message);
  };
await multisig.wss.onBroadcasted(broadcastCallback);

SignatureRequestCallback type

Field
Description
Type

SignatureRequestCallback

A function that accepts a SignatureRequest object as an argument.

function

Last updated