GetNodeInfo

GET: http://172.104.51.182:16667/wallet/getnodeinfo

Query Node Information. Returns information about current state of node.

Example:

curl --request GET --url http://172.104.51.182:16667/wallet/getnodeinfo --header 'Accept: application/json'

Response:

{ "activeConnectCount": 4, "beginSyncNum": 4575973, "block": "Num:4575993,ID:000000000045d2f9e4fa1506b2f2d81b8a1a064221df1b6908b479065e342719", "cheatWitnessInfoMap": {}, "configNodeInfo": { "activeNodeSize": 0, "allowAdaptiveEnergy": 1, "allowCreationOfContracts": 1, "backupListenPort": 10001, "backupMemberSize": 0, "backupPriority": 8, "codeVersion": "4.2.1", "dbVersion": 2, "discoverEnable": true, "listenPort": 16666, "maxConnectCount": 30, "maxTimeRatio": 5.0, "minParticipationRate": 0, "minTimeRatio": 0.0, "p2pVersion": "1001", "passiveNodeSize": 0, "sameIpMaxConnectCount": 2, "sendNodeSize": 0, "supportConstant": true, "versionNum": "15520" }, "currentConnectCount": 11, "machineInfo": { "cpuCount": 4, "cpuRate": 0.019541572875478308, "deadLockThreadCount": 0, "deadLockThreadInfoList": [], "freeMemory": 705556480, "javaVersion": "1.8.0_292", "jvmFreeMemory": 1015755400, "jvmTotalMemory": 1860698112, "memoryDescInfoList": [ { "initSize": 2555904, "maxSize": 251658240, "name": "Code Cache", "useRate": 0.2220738728841146, "useSize": 55886720 }, { "initSize": 0, "maxSize": -1, "name": "Metaspace", "useRate": 0.9433457676426427, "useSize": 64334672 }, { "initSize": 0, "maxSize": 1073741824, "name": "Compressed Class Space", "useRate": 0.006493717432022095, "useSize": 6972576 }, { "initSize": 33554432, "maxSize": 693108736, "name": "PS Eden Space", "useRate": 0.08610189556173765, "useSize": 59677976 }, { "initSize": 5242880, "maxSize": 2097152, "name": "PS Survivor Space", "useRate": 0.8125, "useSize": 1703936 }, { "initSize": 88080384, "maxSize": 1395654656, "name": "PS Old Gen", "useRate": 0.5614288582289515, "useSize": 783560800 } ], "osName": "Linux 4.15.0-142-generic", "processCpuRate": 0.02438460878347603, "threadCount": 143, "totalMemory": 8363528192 }, "passiveConnectCount": 7, "peerList": [ { "active": false, "avgLatency": 5.0, "blockInPorcSize": 0, "connectTime": 1637168305494, "disconnectTimes": 0, "headBlockTimeWeBothHave": 0, "headBlockWeBothHave": "Num:4575993,ID:000000000045d2f9e4fa1506b2f2d81b8a1a064221df1b6908b479065e342719", "host": "172.104.32.164", "inFlow": 534, "lastBlockUpdateTime": 1639463355052, "lastSyncBlock": "", "localDisconnectReason": "", "needSyncFromPeer": false, "needSyncFromUs": false, "nodeCount": 15, "nodeId": "517f3b8a407a554e664cee0fe910491bec0781a33d8f8b10790ec290281aa6ea3b2ae04fb550ccedae8380721d77a6165874c1b5b3f557053b699a912c8c6ada", "port": 16666, "remainNum": 0, "remoteDisconnectReason": "", "score": 292, "syncBlockRequestedSize": 0, "syncFlag": false, "syncToFetchSize": 0, "syncToFetchSizePeekNum": -1, "unFetchSynNum": 0 }, { "active": false, "avgLatency": 5.0, "blockInPorcSize": 0, "connectTime": 1639023329861, "disconnectTimes": 0, "headBlockTimeWeBothHave": 0, "headBlockWeBothHave": "Num:4575993,ID:000000000045d2f9e4fa1506b2f2d81b8a1a064221df1b6908b479065e342719", "host": "172.104.189.243", "inFlow": 458, "lastBlockUpdateTime": 1639463355058, "lastSyncBlock": "Num:4434796,ID:000000000043ab6c5a1f3d5680f7f81b065e8c41057902b7c7f07c4a2360c283", "localDisconnectReason": "", "needSyncFromPeer": false, "needSyncFromUs": false, "nodeCount": 15, "nodeId": "45424623ba93335cf6c4f3f8537a9cab0cec58a43965bc26f585f0b5b50516d1a63adb1b4de4f858089fce781db1ba6b0ea432ac04a4b83b23bbb614dad665c7", "port": 26666, "remainNum": 0, "remoteDisconnectReason": "", "score": 240, "syncBlockRequestedSize": 0, "syncFlag": false, "syncToFetchSize": 0, "syncToFetchSizePeekNum": -1, "unFetchSynNum": 0 }, { "active": false, "avgLatency": 6.0, "blockInPorcSize": 0, "connectTime": 1637168306445, "disconnectTimes": 0, "headBlockTimeWeBothHave": 0, "headBlockWeBothHave": "Num:4575993,ID:000000000045d2f9e4fa1506b2f2d81b8a1a064221df1b6908b479065e342719", "host": "192.46.230.18", "inFlow": 828, "lastBlockUpdateTime": 1639463355053, "lastSyncBlock": "", "localDisconnectReason": "", "needSyncFromPeer": false, "needSyncFromUs": false, "nodeCount": 15, "nodeId": "4050410e06fd315676d49884dae3b2419cef3820e71c4b3a49a34c97df0cd478c4db9f43deb56eef02437703dd37c1e2b393cf36681e0166421d7168513ee2b7", "port": 16666, "remainNum": 0, "remoteDisconnectReason": "", "score": 297, "syncBlockRequestedSize": 0, "syncFlag": false, "syncToFetchSize": 0, "syncToFetchSizePeekNum": -1, "unFetchSynNum": 0 }, { "active": true, "avgLatency": 6.0, "blockInPorcSize": 0, "connectTime": 1637169360464, "disconnectTimes": 0, "headBlockTimeWeBothHave": 0, "headBlockWeBothHave": "Num:4575993,ID:000000000045d2f9e4fa1506b2f2d81b8a1a064221df1b6908b479065e342719", "host": "139.162.1.98", "inFlow": 1931, "lastBlockUpdateTime": 1639463355051, "lastSyncBlock": "Num:3839624,ID:00000000003a9688270f0ea6b81665337557982d25a809af025587be9f752d29", "localDisconnectReason": "", "needSyncFromPeer": false, "needSyncFromUs": false, "nodeCount": 15, "nodeId": "179d5fceab1b581248aa7af0a52668b754edeb6c0900c86498a0fb046d8393767170222f1c22bd52316f07469d1689726f795c564c31d51ccba53af05570a5b6", "port": 16666, "remainNum": 0, "remoteDisconnectReason": "", "score": 240, "syncBlockRequestedSize": 0, "syncFlag": false, "syncToFetchSize": 0, "syncToFetchSizePeekNum": -1, "unFetchSynNum": 0 }, { "active": false, "avgLatency": 6.0, "blockInPorcSize": 0, "connectTime": 1637168305337, "disconnectTimes": 0, "headBlockTimeWeBothHave": 0, "headBlockWeBothHave": "Num:4575993,ID:000000000045d2f9e4fa1506b2f2d81b8a1a064221df1b6908b479065e342719", "host": "192.46.230.14", "inFlow": 497, "lastBlockUpdateTime": 1639463355053, "lastSyncBlock": "Num:4499626,ID:000000000044a8aa74ae88e24db2c39cb31b1fc84706ae9280f61e5bacd5d4ce", "localDisconnectReason": "", "needSyncFromPeer": false, "needSyncFromUs": false, "nodeCount": 15, "nodeId": "19d9dbb7c340f24ce313f1e195ac84185b2c3930294a31b6d0d58277a3d5f2fa6c36e894208b4687028367764d6e373bde0d4db6676fd63d048b6371f1a3df69", "port": 16666, "remainNum": 0, "remoteDisconnectReason": "", "score": 298, "syncBlockRequestedSize": 0, "syncFlag": false, "syncToFetchSize": 0, "syncToFetchSizePeekNum": -1, "unFetchSynNum": 0 }, { "active": true, "avgLatency": 6.0, "blockInPorcSize": 0, "connectTime": 1637168777205, "disconnectTimes": 0, "headBlockTimeWeBothHave": 0, "headBlockWeBothHave": "Num:4575993,ID:000000000045d2f9e4fa1506b2f2d81b8a1a064221df1b6908b479065e342719", "host": "172.105.123.75", "inFlow": 1700, "lastBlockUpdateTime": 1639463355059, "lastSyncBlock": "", "localDisconnectReason": "", "needSyncFromPeer": false, "needSyncFromUs": false, "nodeCount": 15, "nodeId": "137379df2a2968ceb5ebc8c7c0e02a6a84140ced400b478f6296c015ba16652e3376e85e2104737d411459ad9959786683bb37a6fdb0e72c7e5125ac246a6f2c", "port": 16666, "remainNum": 0, "remoteDisconnectReason": "", "score": 240, "syncBlockRequestedSize": 0, "syncFlag": false, "syncToFetchSize": 0, "syncToFetchSizePeekNum": -1, "unFetchSynNum": 0 }, { "active": true, "avgLatency": 6.0, "blockInPorcSize": 0, "connectTime": 1637300487283, "disconnectTimes": 0, "headBlockTimeWeBothHave": 0, "headBlockWeBothHave": "Num:4575993,ID:000000000045d2f9e4fa1506b2f2d81b8a1a064221df1b6908b479065e342719", "host": "139.162.12.77", "inFlow": 1598, "lastBlockUpdateTime": 1639463355052, "lastSyncBlock": "Num:3881946,ID:00000000003b3bda10eed0ee60d3b48ff23106fa6b0461f4ff687d4699e46010", "localDisconnectReason": "", "needSyncFromPeer": false, "needSyncFromUs": false, "nodeCount": 15, "nodeId": "f303e6b48a0d978a92e745b879b4467ecf3d860a52c437848b15701c49c6b7b668b2e702ccc9b72245165756789978d3c92e3bc547110a41ecf7aef4d1788fe1", "port": 16666, "remainNum": 0, "remoteDisconnectReason": "", "score": 240, "syncBlockRequestedSize": 0, "syncFlag": false, "syncToFetchSize": 0, "syncToFetchSizePeekNum": -1, "unFetchSynNum": 0 }, { "active": true, "avgLatency": 7.0, "blockInPorcSize": 0, "connectTime": 1637169310060, "disconnectTimes": 0, "headBlockTimeWeBothHave": 0, "headBlockWeBothHave": "Num:4575993,ID:000000000045d2f9e4fa1506b2f2d81b8a1a064221df1b6908b479065e342719", "host": "172.104.50.193", "inFlow": 273, "lastBlockUpdateTime": 1639463355053, "lastSyncBlock": "Num:3839624,ID:00000000003a9688270f0ea6b81665337557982d25a809af025587be9f752d29", "localDisconnectReason": "", "needSyncFromPeer": false, "needSyncFromUs": false, "nodeCount": 15, "nodeId": "e7a845ec1b12511d0c27bdc2d1c22f768142fdae633543e385465818b8943713ea01a039a733c73d3c60a491d88f49117ee697616b7f449d5d3002241f486c03", "port": 16666, "remainNum": 0, "remoteDisconnectReason": "", "score": 240, "syncBlockRequestedSize": 0, "syncFlag": false, "syncToFetchSize": 0, "syncToFetchSizePeekNum": -1, "unFetchSynNum": 0 }, { "active": false, "avgLatency": 45.0, "blockInPorcSize": 0, "connectTime": 1639091720920, "disconnectTimes": 0, "headBlockTimeWeBothHave": 0, "headBlockWeBothHave": "Num:4575993,ID:000000000045d2f9e4fa1506b2f2d81b8a1a064221df1b6908b479065e342719", "host": "172.104.189.243", "inFlow": 567, "lastBlockUpdateTime": 1639463355052, "lastSyncBlock": "Num:4456856,ID:000000000044019821b823219f437f970c010c91564ab4a3ed998a105bab1706", "localDisconnectReason": "", "needSyncFromPeer": false, "needSyncFromUs": false, "nodeCount": 15, "nodeId": "7bffe8dbe57eb151ece3074457b02707a111c47fadc5449d0c030f9b259c8c493769b92c62860bbed19a642967869f2c53fc7bb359a6b092cce68dbaae489165", "port": 16666, "remainNum": 0, "remoteDisconnectReason": "", "score": 140, "syncBlockRequestedSize": 0, "syncFlag": false, "syncToFetchSize": 0, "syncToFetchSizePeekNum": -1, "unFetchSynNum": 0 }, { "active": false, "avgLatency": 52.0, "blockInPorcSize": 0, "connectTime": 1639390315381, "disconnectTimes": 0, "headBlockTimeWeBothHave": 0, "headBlockWeBothHave": "Num:4575993,ID:000000000045d2f9e4fa1506b2f2d81b8a1a064221df1b6908b479065e342719", "host": "139.162.1.57", "inFlow": 349, "lastBlockUpdateTime": 1639463355053, "lastSyncBlock": "Num:4552810,ID:000000000045786a2f9356b629ffaa90eb4f705c2254e83caa7924ac9fa88e45", "localDisconnectReason": "", "needSyncFromPeer": false, "needSyncFromUs": false, "nodeCount": 15, "nodeId": "ec445084329ffcf763eb64896ad63dd0034310e54d0fec271b2527a8246bbf1da33a347f60291a57276ffe003de191c13f3da73426a444bd8ae1f05d9df7c764", "port": 16666, "remainNum": 0, "remoteDisconnectReason": "", "score": 148, "syncBlockRequestedSize": 0, "syncFlag": false, "syncToFetchSize": 0, "syncToFetchSizePeekNum": -1, "unFetchSynNum": 0 }, { "active": false, "avgLatency": 584.0, "blockInPorcSize": 0, "connectTime": 1639463157717, "disconnectTimes": 9, "headBlockTimeWeBothHave": 0, "headBlockWeBothHave": "Num:4095167,ID:00000000003e7cbf1f5bbe5c10f3e65c7f4ffe863aebe286c54c2fce43abcde3", "host": "91.77.152.128", "inFlow": 44699, "lastBlockUpdateTime": 1639463303599, "lastSyncBlock": "Num:4095188,ID:00000000003e7cd4f88eff1dc653d517d40bd9bad148b1d0478892ad056d7439", "localDisconnectReason": "PING_TIMEOUT", "needSyncFromPeer": false, "needSyncFromUs": true, "nodeCount": 15, "nodeId": "5a85d00979c4edb33ec2196a482ca041a9b08346749f67770e522e013f0c7589693f48165b798b401ae80c06fcb44565f74bbd9201170e18cd7f84997095be7b", "port": 26666, "remainNum": 480785, "remoteDisconnectReason": "TIME_OUT", "score": 36, "syncBlockRequestedSize": 0, "syncFlag": false, "syncToFetchSize": 0, "syncToFetchSizePeekNum": -1, "unFetchSynNum": 480785 } ], "solidityBlock": "Num:4575975,ID:000000000045d2e73879a123599cd4d33cb67c385385013a223ad6441246db20", "totalFlow": 53434 }

Last updated