Returns an array of all peer connection statuses.
OK
The IP address or URL of the peer
True if the peer is connecting, otherwise false
True if the peer is syncing, otherwise false
Structure holding detailed information about the connection
const response = await fetch('https://eos.nownodes.io/v1/net/connections', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
[ { "peer": "text", "connecting": false, "syncing": false, "last_handshake": { "p2p_address": "text", "os": "text", "agent": "text" } } ]