Returns network related information of the node.
successful operation
Role of this node. (N.B. Sentry nodes are being deprecated.)
Number of peers the node is connected to.
Whether or not the node is syncing. False
indicates that the node is in sync.
Whether or not the node should be connected to peers. Might be false for local chains or when running without discovery.
Local copy of the PeerId
.
Multiaddresses that the local node is listening on. The addresses include a trailing /p2p/
with the local PeerId, and are thus suitable to be passed to system_addReservedPeer
or as a bootnode address for example.