> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# wallet/getnodeinfo | TRON

> TRON API method that retrieves information about the current TRON node. This method provides details about the node's version, configuration, network status.

TRON API method that retrieves information about the current TRON node. This method provides details about the node's version, configuration, network status, and operational parameters.

## Parameters

This method does not require any parameters.

## Response

* `beginSyncNum` — the block number from which synchronization started
* `block` — current block height information
* `solidityBlock` — current solidity block height information
* `currentConnectCount` — number of current peer connections
* `activeConnectCount` — number of active peer connections
* `passiveConnectCount` — number of passive peer connections
* `totalFlow` — total network traffic flow
* `peerInfoList` — list of connected peer information
* `configNodeInfo` — node configuration information
* `machineInfo` — machine and system information
* `cheatWitnessInfoMap` — information about witnesses flagged for cheating

## Use case

The `wallet/getnodeinfo` method is used for:

* Monitoring node health and synchronization status.
* Checking network connectivity and peer connections.
* Gathering node configuration and version information.
* Debugging network issues and performance monitoring.


## OpenAPI

````yaml openapi/tron_node_api/getnodeinfo.json get /95e61622bf6a8af293978377718e3b77/wallet/getnodeinfo
openapi: 3.0.0
info:
  title: wallet/getnodeinfo TRON API
  version: 1.0.0
  description: Get TRON node information and status
servers:
  - url: https://tron-mainnet.core.chainstack.com
security: []
paths:
  /95e61622bf6a8af293978377718e3b77/wallet/getnodeinfo:
    get:
      tags:
        - Node Information
      summary: wallet/getnodeinfo
      operationId: getNodeInfo
      responses:
        '200':
          description: Node information and status
          content:
            application/json:
              schema:
                type: object
                properties:
                  beginSyncNum:
                    type: integer
                    description: Block number from which sync started
                  block:
                    type: string
                    description: Current block height
                  solidityBlock:
                    type: string
                    description: Current solidity block height
                  currentConnectCount:
                    type: integer
                    description: Current peer connections
                  activeConnectCount:
                    type: integer
                    description: Active peer connections
                  passiveConnectCount:
                    type: integer
                    description: Passive peer connections
                  totalFlow:
                    type: integer
                    description: Total network traffic flow
                  peerInfoList:
                    type: array
                    description: List of connected peers
                    items:
                      type: object
                      properties:
                        lastSyncBlock:
                          type: string
                        remainNum:
                          type: integer
                        lastBlockUpdateTime:
                          type: integer
                        syncFlag:
                          type: boolean
                        headBlockTimeWeBothHave:
                          type: integer
                        needSyncFromPeer:
                          type: boolean
                        needSyncFromUs:
                          type: boolean
                        host:
                          type: string
                        port:
                          type: integer
                        nodeId:
                          type: string
                  configNodeInfo:
                    type: object
                    description: Node configuration information
                    properties:
                      codeVersion:
                        type: string
                      p2pVersion:
                        type: string
                      listenPort:
                        type: integer
                      discoverEnable:
                        type: boolean
                      activeNodeSize:
                        type: integer
                      passiveNodeSize:
                        type: integer
                      sendNodeSize:
                        type: integer
                      maxConnectCount:
                        type: integer
                      sameIpMaxConnectCount:
                        type: integer
                      backupListenPort:
                        type: integer
                      backupMemberSize:
                        type: integer
                      backupPriority:
                        type: integer
                      dbVersion:
                        type: integer
                      minParticipationRate:
                        type: integer
                      supportConstant:
                        type: boolean
                      minTimeRatio:
                        type: number
                      maxTimeRatio:
                        type: number
                      allowCreationOfContracts:
                        type: integer
                      allowAdaptiveEnergy:
                        type: integer
                  machineInfo:
                    type: object
                    description: Machine and system information
                    properties:
                      threadCount:
                        type: integer
                      deadLockThreadCount:
                        type: integer
                      cpuCount:
                        type: integer
                      totalMemory:
                        type: integer
                      freeMemory:
                        type: integer
                      cpuRate:
                        type: number
                      javaVersion:
                        type: string
                      osName:
                        type: string
                      jvmTotalMemory:
                        type: integer
                      jvmFreeMemory:
                        type: integer
                      processCpuRate:
                        type: number
                  cheatWitnessInfoMap:
                    type: object
                    description: Information about witnesses flagged for cheating

````