curl --request GET \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getnodeinfo
{
"beginSyncNum": 123,
"block": "<string>",
"solidityBlock": "<string>",
"currentConnectCount": 123,
"activeConnectCount": 123,
"passiveConnectCount": 123,
"totalFlow": 123,
"peerInfoList": [
{
"lastSyncBlock": "<string>",
"remainNum": 123,
"lastBlockUpdateTime": 123,
"syncFlag": true,
"headBlockTimeWeBothHave": 123,
"needSyncFromPeer": true,
"needSyncFromUs": true,
"host": "<string>",
"port": 123,
"nodeId": "<string>"
}
],
"configNodeInfo": {
"codeVersion": "<string>",
"p2pVersion": "<string>",
"listenPort": 123,
"discoverEnable": true,
"activeNodeSize": 123,
"passiveNodeSize": 123,
"sendNodeSize": 123,
"maxConnectCount": 123,
"sameIpMaxConnectCount": 123,
"backupListenPort": 123,
"backupMemberSize": 123,
"backupPriority": 123,
"dbVersion": 123,
"minParticipationRate": 123,
"supportConstant": true,
"minTimeRatio": 123,
"maxTimeRatio": 123,
"allowCreationOfContracts": 123,
"allowAdaptiveEnergy": 123
},
"machineInfo": {
"threadCount": 123,
"deadLockThreadCount": 123,
"cpuCount": 123,
"totalMemory": 123,
"freeMemory": 123,
"cpuRate": 123,
"javaVersion": "<string>",
"osName": "<string>",
"jvmTotalMemory": 123,
"jvmFreeMemory": 123,
"processCpuRate": 123
},
"cheatWitnessInfoMap": {}
}
curl --request GET \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getnodeinfo
{
"beginSyncNum": 123,
"block": "<string>",
"solidityBlock": "<string>",
"currentConnectCount": 123,
"activeConnectCount": 123,
"passiveConnectCount": 123,
"totalFlow": 123,
"peerInfoList": [
{
"lastSyncBlock": "<string>",
"remainNum": 123,
"lastBlockUpdateTime": 123,
"syncFlag": true,
"headBlockTimeWeBothHave": 123,
"needSyncFromPeer": true,
"needSyncFromUs": true,
"host": "<string>",
"port": 123,
"nodeId": "<string>"
}
],
"configNodeInfo": {
"codeVersion": "<string>",
"p2pVersion": "<string>",
"listenPort": 123,
"discoverEnable": true,
"activeNodeSize": 123,
"passiveNodeSize": 123,
"sendNodeSize": 123,
"maxConnectCount": 123,
"sameIpMaxConnectCount": 123,
"backupListenPort": 123,
"backupMemberSize": 123,
"backupPriority": 123,
"dbVersion": 123,
"minParticipationRate": 123,
"supportConstant": true,
"minTimeRatio": 123,
"maxTimeRatio": 123,
"allowCreationOfContracts": 123,
"allowAdaptiveEnergy": 123
},
"machineInfo": {
"threadCount": 123,
"deadLockThreadCount": 123,
"cpuCount": 123,
"totalMemory": 123,
"freeMemory": 123,
"cpuRate": 123,
"javaVersion": "<string>",
"osName": "<string>",
"jvmTotalMemory": 123,
"jvmFreeMemory": 123,
"processCpuRate": 123
},
"cheatWitnessInfoMap": {}
}
beginSyncNum
— the block number from which synchronization startedblock
— current block height informationsolidityBlock
— current solidity block height informationcurrentConnectCount
— number of current peer connectionsactiveConnectCount
— number of active peer connectionspassiveConnectCount
— number of passive peer connectionstotalFlow
— total network traffic flowpeerInfoList
— list of connected peer informationconfigNodeInfo
— node configuration informationmachineInfo
— machine and system informationcheatWitnessInfoMap
— information about witnesses flagged for cheatingwallet/getnodeinfo
method is used for:
Node information and status
The response is of type object
.
Was this page helpful?