Returns general information about the node.
GEThttp://127.0.0.1:14265/api/core/v2/info
Returns general information about the node.
Responses
- 200
- 403
- 500
Successful operation.
- application/json
- Schema
- Example (from schema)
- IOTA
- Shimmer
Schema
name stringrequired
The name of the node.
version stringrequired
The semantic version of the node.
status required
metrics required
supportedProtocolVersions integer[]required
The supported protocol versions.
protocol required
pendingProtocolParameters ProtocolParamsMilestoneOpt[]required
baseToken required
features string[]required
The features that are supported by the node. For example, a node could support the Proof-of-Work (pow) feature, which would allow the Proof-of-Work to be performed by the node itself. All features must be lowercase.
{
"name": "string",
"version": "string",
"status": {
"isHealthy": true,
"latestMilestone": {
"index": 0,
"timestamp": 0,
"milestoneId": "string"
},
"confirmedMilestone": {
"index": 0,
"timestamp": 0,
"milestoneId": "string"
},
"pruningIndex": 0
},
"metrics": {
"blocksPerSecond": 0,
"referencedBlocksPerSecond": 0,
"referencedRate": 0
},
"supportedProtocolVersions": [
0
],
"protocol": {
"networkName": "string",
"bech32Hrp": "string",
"tokenSupply": "string",
"version": 0,
"minPowScore": 0,
"belowMaxDepth": 0,
"rentStructure": {
"vByteCost": 0,
"vByteFactorData": 0,
"vByteFactoKey": 0
}
},
"pendingProtocolParameters": [
{
"type": 0,
"targetMilestoneIndex": 0,
"protocolVersion": 0,
"params": "string"
}
],
"baseToken": {
"name": "string",
"tickerSymbol": "string",
"unit": "string",
"decimals": 0,
"subunit": "string",
"useMetricPrefix": true
},
"features": [
"string"
]
}
{
"name": "HORNET",
"version": "0.6.0-alpha",
"status": {
"isHealthy": true,
"latestMilestone": {
"index": 480,
"timestamp": 1617802102,
"milestoneId": "0xb59ff329113b0da14343707450cb28d41fa18b295deabc4beb3fc1b6e70f9d9e"
},
"confirmedMilestone": {
"index": 480,
"timestamp": 1617802102,
"milestoneId": "0xb59ff329113b0da14343707450cb28d41fa18b295deabc4beb3fc1b6e70f9d9e"
},
"pruningIndex": 0
},
"metrics": {
"blocksPerSecond": 17,
"referencedBlocksPerSecond": 16.8,
"referencedRate": 98.82352941176471
},
"supportedProtocolVersions": [
2,
3
],
"protocol": {
"networkName": "iota-testnet",
"bech32Hrp": "atoi",
"tokenSupply": "2779530283277761",
"version": 2,
"minPowScore": 1000,
"belowMaxDepth": 15,
"rentStructure": {
"vByteCost": 500,
"vByteFactorData": 1,
"vByteFactorKey": 10
}
},
"pendingProtocolParameters": [
{
"type": 1,
"targetMilestoneIndex": 480,
"protocolVersion": 2,
"params": "0x03040560405060703940304956896"
},
{
"type": 1,
"targetMilestoneIndex": 485,
"protocolVersion": 2,
"params": "0x03040503045950393045930239392"
},
{
"type": 1,
"targetMilestoneIndex": 490,
"protocolVersion": 2,
"params": "0x02010290394032948950303939482"
}
],
"baseToken": {
"name": "IOTA",
"tickerSymbol": "MIOTA",
"unit": "IOTA",
"decimals": 0,
"useMetricPrefix": true
},
"features": [
"pow"
]
}
{
"name": "HORNET",
"version": "2.0.0-alpha8",
"status": {
"isHealthy": true,
"latestMilestone": {
"index": 480,
"timestamp": 1617802102,
"milestoneId": "0xb59ff329113b0da14343707450cb28d41fa18b295deabc4beb3fc1b6e70f9d9e"
},
"confirmedMilestone": {
"index": 480,
"timestamp": 1617802102,
"milestoneId": "0xb59ff329113b0da14343707450cb28d41fa18b295deabc4beb3fc1b6e70f9d9e"
},
"pruningIndex": 0
},
"metrics": {
"blocksPerSecond": 17,
"referencedBlocksPerSecond": 16.8,
"referencedRate": 98.82352941176471
},
"supportedProtocolVersions": [
2,
3
],
"protocol": {
"networkName": "shimmer-testnet",
"bech32Hrp": "rms",
"tokenSupply": "2779530283277761",
"version": 2,
"minPowScore": 1000,
"belowMaxDepth": 15,
"rentStructure": {
"vByteCost": 500,
"vByteFactorData": 1,
"vByteFactorKey": 10
}
},
"pendingProtocolParameters": [
{
"type": 1,
"targetMilestoneIndex": 480,
"protocolVersion": 2,
"params": "0x03040560405060703940304956896"
},
{
"type": 1,
"targetMilestoneIndex": 485,
"protocolVersion": 2,
"params": "0x03040503045950393045930239392"
},
{
"type": 1,
"targetMilestoneIndex": 490,
"protocolVersion": 2,
"params": "0x02010290394032948950303939482"
}
],
"baseToken": {
"name": "Shimmer",
"tickerSymbol": "SMR",
"unit": "SMR",
"decimals": 6,
"subunit": "glow",
"useMetricPrefix": false
},
"features": [
"pow"
]
}
Unsuccessful operation: indicates that the endpoint is not available for public use.
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
{
"error": {
"code": 403,
"message": "not available for public use"
}
}
Unsuccessful operation: indicates that an unexpected, internal server error happened which prevented the node from fulfilling the request.
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
{
"error": {
"code": 500,
"message": "internal server error"
}
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'http://127.0.0.1:14265/api/core/v2/info' \
-H 'Accept: application/json'
ResponseClear