node

Get trusted peers

Changed on
get/v1/node/peers/trusted

Request

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

Response

A list of trusted peers

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