Network

Get information about the Substrate node's activity in the peer-to-peer network.

get

Returns network related information of the node.

Responses
200
successful operation
application/json
get
GET /node/network HTTP/1.1
Host: dot-playbook.nownodes.io
Accept: */*
200

successful operation

{
  "nodeRoles": "Full",
  "numPeers": "text",
  "isSyncing": true,
  "shouldHavePeers": true,
  "localPeerId": "text",
  "localListenAddresses": [
    "text"
  ],
  "peersInfo": [
    {
      "peerId": "text",
      "roles": "text",
      "protocolVersion": "text",
      "bestHash": "text",
      "bestNumber": "text"
    }
  ]
}