Get peers

Get the list of the current peers.

Example

client.api.getPeers(function(err, result) {
  console.log(result);
});

Try on JSFiddle.

Returns

[
  'wss://byteball.fr/bb',
  'wss://byteball.me/bb',
  'wss://blackbytes.me/bb',
  'wss://hub.byteball.ee',
  'wss://byteball-hub.com/bb',  
  'wss://relay.papabyte.com/bb'
]

Last updated