Get peers
Get the list of the current peers.

Example

1
client.api.getPeers(function(err, result) {
2
if (err) return console.error(err);
3
console.log(result);
4
});
Copied!
Try on JSFiddle.

Returns

1
[
2
'wss://byteball.fr/bb',
3
'wss://byteball.me/bb',
4
'wss://blackbytes.me/bb',
5
'wss://hub.byteball.ee',
6
'wss://byteball-hub.com/bb',
7
'wss://relay.papabyte.com/bb'
8
]
Copied!
Last modified 6mo ago
Copy link