node

Get basic peer info of the current node

get/node/peers/identity

Response

This node peering identity

isTrustedboolean required
netIdstring string required

The NetID of the peer

publicKeystring string required

The peers public key encoded in Hex

Example response

{
  "netId": "localhost:4000",
  "publicKey": 0,
  "isTrusted": true
}

Changes