node

Returns private information about this node.

Changed on
get/v1/node/info

Request

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

Response

Returns information about this node.

peeringURLstring string required

The net id of the node

publicKeystring string required

The public key of the node (Hex)

versionstring string required

The version of the node

Example response

{
  "peeringURL": "0.0.0.0:4000",
  "l1Params": {
    "protocol": {
      "rentStructure": {
        "vByteFactorData": 1,
        "vByteCost": 500,
        "vByteFactorKey": 10
      },
      "minPowScore": 1,
      "tokenSupply": "2779530283277761",
      "networkName": "private_tangle1",
      "belowMaxDepth": 15,
      "version": 2,
      "bech32Hrp": "tst"
    },
    "maxPayloadSize": 32498,
    "baseToken": {
      "unit": "TEST",
      "decimals": 6,
      "name": "TestCoin",
      "tickerSymbol": "TEST",
      "subunit": "testies",
      "useMetricPrefix": true
    }
  },
  "publicKey": 6.50081931316715e+76,
  "version": "0.4.0-alpha.2-390-g5470f1925"
}

Changes