Multi

Broadcast multiple messages in a single unit.

Returns

Returns the unit hash.

Example

const params = [
  {
    app: 'data_feed',
    payload: {
      timestamp: Date.now()
    }
  },
  {
    app: 'text',
    payload: 'Hello world'
   }
];

client.post.multi(params, wif, function(err, result) {
  console.log(result);
});

Last updated