Status of Hathor network
GET/status
Returns the server data and the details of peers
Responses
- 200
Success
- application/json
- Schema
- success
Schema
any
Server and peers data
{
"server": {
"id": "5578ab3bcaa861fb9d07135b8b167dd230d4487b147be8fd2c94a79bd349d123",
"app_version": "Hathor v0.14.0-beta",
"state": "READY",
"network": "testnet",
"uptime": 118.37029600143433,
"entrypoints": [
"tcp:localhost:8000"
]
},
"known_peers": [],
"connections": {
"connected_peers": [
{
"id": "5578ab3bcaa861fb9d07135b8b167dd230d4487b147be8fd2c94a79bd349d123",
"app_version": "Hathor v0.14.0-beta",
"uptime": 118.37029600143433,
"address": "192.168.1.1:54321",
"state": "READY",
"last_message": 1539271481,
"plugins": {
"node-sync-timestamp": {
"is_enabled": true,
"latest_timestamp": 1685310912,
"synced_timestamp": 1685310912
}
},
"warning_flags": [
"no_entrypoints"
],
"protocol_version": "sync-v1.1",
"peer_best_blockchain": [
[
59,
"0000045de9ac8365c43ccc96222873cb80c340c6c9c8949b56d2e2e51b6a3dbe"
]
]
}
],
"handshaking_peers": [
{
"address": "192.168.1.1:54321",
"state": "HELLO",
"uptime": 0.0010249614715576172,
"app_version": "Unknown"
}
],
"connecting_peers": [
{
"deferred": "<bound method TCP4ClientEndpoint.connect of <twisted.internet.endpoints.TCP4ClientEndpoint object at 0x10b16b470>>",
"address": "192.168.1.1:54321"
}
]
},
"dag": {
"first_timestamp": 1539271481,
"latest_timestamp": 1539271483,
"best_block_tips": [
{
"hash": "000007eb968a6cdf0499e2d033faf1e163e0dc9cf41876acad4d421836972038",
"height": 0
}
],
"best_block": {
"hash": "000007eb968a6cdf0499e2d033faf1e163e0dc9cf41876acad4d421836972038",
"height": 0
},
"best_blockchain": [
[
59,
"0000045de9ac8365c43ccc96222873cb80c340c6c9c8949b56d2e2e51b6a3dbe"
]
]
}
}
Loading...