node

Get basic peer info of the current node

Changed on
get/v1/node/peers/identity

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /v1/node/peers/identity
  • Auth
    API key in header Authorization

Response

This node peering identity

isTrustedboolean required
namestring string required
peeringURLstring string required

The peering URL of the peer

publicKeystring string required

The peers public key encoded in Hex

Example response

{
  "peeringURL": "localhost:4000",
  "name": "name",
  "publicKey": 0,
  "isTrusted": true
}

Changes