Request the node to notify you of new joints from a specific main chain index.

const params = {
  subscription_id: '1',
  last_mci: 2870575

client.request('subscribe', params, function(err, result) {

You need to subscribe to WebSocket notifications see here to see messages sent to you. Here is an example of a notification:

    subject: 'joint',
    body: {
      unit: [Object]

Last updated