Returns private information about this node.
GET//v1/node/info
Authorization: Authorization
name: Authorizationtype: apiKeydescription: JWT Tokenin: header
Returns private information about this node.
Request
Responses
- 200
- 401
Returns information about this node.
- application/json
- Schema
- Example (from schema)
Schema
l1Params L1Paramsrequired
peeringURL stringrequired
The net id of the node
publicKey stringrequired
The public key of the node (Hex)
version stringrequired
The version of the node
{
"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"
}
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET '/v1/node/info' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
ResponseClear