GetNodeInfo

查询当前节点的信息.

返回值

字段类型描述
beginSyncNumint64同步起始区块
blockstring最新区块信息,包括区块高度和区块id
solidityBlockstring最新固化块信息,包括区块高度和区块id
currentConnectCountint32当前连接数
activeConnectCountint32active节点连接数
passiveConnectCountint32passive节点连接数
totalFlowint64总TCP流量
peerInfoListPeerInfo[]对等节点信息,具体内容请参考protobuf
configNodeInfoConfigNodeInfo节点配置信息, 具体内容请参考protobuf
machineInfoMachineInfo节点所在机器的信息, 具体内容请参考protobuf
cheatWitnessInfoMapmap<string, string>可能存在作弊嫌疑的SR信息
Language
Click Try It! to start a request and see the response here!