> For the complete documentation index, see [llms.txt](https://obytejs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://obytejs.com/0.1.17/api/get-peers.md).

# Get peers

### Example

```javascript
client.api.getPeers(function(err, result) {
  if (err) return console.error(err);
  console.log(result);
});
```

Try on [JSFiddle](https://jsfiddle.net/2azq1ruL/).

### Returns

```javascript
[
  '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'
]
```
