obyte.js
0.1.19
Search
K
Links

Get peers

Get the list of the current peers.

Example

client.api.getPeers(function(err, result) {
if (err) return console.error(err);
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'
]