Polluxchain
  1. Query The Network
Polluxchain
  • Background
  • API key
    • Rate Limits
    • Security Settings
  • Full Node HTTP API
    • Address Utilities
      • ValidateAddress
    • Transactions
      • BroadcastTransaction
      • BroadcastHex
      • CreateTransaction
    • Accounts
      • CreateAccount
      • GetAccount
      • UpdateAccount
      • AccountPermissionUpdate
      • GetAccountBalance
    • Account Resources
      • GetAccountResource
      • GetAccountNet
      • FreezeBalance
      • UnfreezeBalanceV2
      • CancelAllUnfreezeV2
      • DelegateResource
      • UnDelegateResource
      • WithdrawExpireUnfreeze
      • GetAvailableUnfreezeCount
      • GetCanWithdrawUnfreezeAmount
      • GetCanDelegatedMaxSize
      • GetDelegatedResourceV2
      • GetDelegatedResourceAccountIndexV2
    • Query The Network
      • GetBlock
        POST
      • GetBlockByNum
        POST
      • GetBlockById
        POST
      • GetBlockByLatestNum
        POST
      • GetBlockByLimitNext
        POST
      • GetNowBlock
        POST
      • GetTransactionById
        POST
      • GetTransactionInfoById
        POST
      • GetTransactionInfoByBlockNum
        POST
      • ListNodes
        GET
      • GetNodeInfo
        GET
      • GetChainParameters
        GET
      • GetBlockBalance
        POST
      • GetEnergyPrices
        GET
      • GetBandwidthPrices
        GET
      • GetBurnTRX
        GET
      • GetApprovedList
        POST
    • Smart Contract
      • GetContract
      • GetContractInfo
      • TriggerSmartContract
      • TriggerConstantContract
      • DeployContract
      • UpdateSetting
      • UpdateEnergyLimit
      • ClearAbi
      • EstimateEnergy
    • Voting & SRs
      • ListWitnesses
      • CreateWitness
      • UpdateWitness
      • GetBrokerage
      • UpdateBrokerage
      • VoteWitnessAccount
      • GetReward
      • WithdrawBalance
      • GetNextMaintenanceTime
    • Proposals
      • ListProposals
      • GetProposalById
      • ProposalCreate
      • ProposalApprove
      • ProposalDelete
    • Pending pool
      • GetTransactionListFromPending
      • GetTransactionFromPending
      • GetPendingSize
  • Full Node Solidity HTTP API
    • Transactions
      • GetTransactionById
      • GetTransactionInfoById
      • GetTransactionInfoByBlockNum
      • GetTransactionCountByBlockNum
    • Blocks
      • GetBlock
      • GetNowBlock
      • GetBlockByNum
      • GetBlockById
      • GetBlockByLatestNum
      • GetBlockByLimitNext
    • Account Resources
      • GetAccount
      • GetDelegatedResource
      • GetDelegatedResourceAccountIndex
      • GetCanDelegatedMaxSize
      • GetCanWithdrawUnfreezeAmount
      • GetDelegatedResourceAccountIndexV2
      • GetAvailableUnfreezeCount
    • Node & Chain
      • GetNodeInfo
      • GetBurnPOX
    • Smart Contracts
      • TriggerConstantContract
      • EstimateEnergy
    • Voting & SRs
      • ListWitnesses
      • GetReward
      • GetBrokerage
  • Full Node JSON-RPC API
    • Overview
    • buildTransaction
    • eth
      • eth_accounts
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_coinbase
      • eth_estimateGas
      • eth_gasPrice
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionReceipt
      • eth_getWork
      • eth_protocolVersion
      • eth_syncing
      • eth_newFilter
      • eth_newBlockFilter
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_uninstallFilter
      • eth_getLogs
    • net
      • net_listening
      • net_peerCount
      • net_version
    • web3
      • web3_clientVersion
      • web3_sha3
  • PolluxWeb
    • address
    • createAccount
    • createRandom
    • fromAscii
    • fromDecimal
    • fromMnemonic
    • fromUtf8
    • getEventByTransactionID
    • getEventResult
    • isAddress
    • isConnected
    • setHeader
    • setDefaultBlock
    • setPrivateKey
    • setAddress
    • sha3
    • toAscii
    • toBigNumber
    • toDecimal
    • toHex
    • toRAM
    • toUtf8
    • BigNumber
    • polluxweb.trx
      • getAccount
      • getAccountResources
      • getApprovedList
      • getAvailableUnfreezeCount
      • getBalance
      • getBandwidth
      • getBlock
      • getBlockByHash
      • getBlockByNumber
      • getBlockRange
      • getBlockTransactionCount
      • getBrokerage
      • getCanDelegatedMaxSize
      • getCanWithdrawUnfreezeAmount
      • getChainParameters
      • getConfirmedTransaction
      • getContract
      • getCurrentBlock
      • getDelegatedResourceV2
      • getDelegatedResourceAccountIndexV2
      • getExchangeByID
      • getNodeInfo
      • getReward
      • getTokenByID
      • getTokenFromID
      • getTokenListByName
      • getTokensIssuedByAddress
      • getTransaction
      • getTransactionFromBlock
      • getTransactionInfo
      • getUnconfirmedBalance
      • getUnconfirmedBrokerage
      • getUnconfirmedReward
      • listExchanges
      • listExchangesPaginated
      • listNodes
      • listProposals
      • listSuperRepresentatives
      • listTokens
      • sendRawTransaction
      • sendHexTransaction
      • sendToken
      • sendTransaction
      • sign
      • signMessageV1
      • signMessageV2
      • timeUntilNextVoteCycle
      • multiSign
      • verifyMessage
      • verifyMessageV2
      • _signTypedData
      • verifyTypedData
    • polluxweb.transactionBuilder
      • addUpdateData
      • applyForSR
      • cancelUnfreezeBalanceV2
      • createAccount
      • createAsset
      • createProposal
      • createSmartContract
      • createToken
      • delegateResource
      • deleteProposal
      • estimateEnergy
      • extendExpiration
      • freezeBalance
      • freezeBalanceV2
      • injectExchangeTokens
      • purchaseAsset
      • purchaseToken
      • sendAsset
      • sendToken
      • sendTrx
      • tradeExchangeTokens
      • triggerConfirmedConstantContract
      • triggerConstantContract
      • triggerSmartContract
      • undelegateResource
      • unfreezeBalance
      • unfreezeBalanceV2
      • updateSetting
      • updateAccountPermissions
      • updateAsset
      • updateBrokerage
      • updateEnergyLimit
      • updateToken
      • vote
      • voteProposal
      • withdrawBlockRewards
      • withdrawExchangeTokens
      • withdrawExpireUnfreeze
    • poxweb.contract
      • polluxweb.contract.new
      • polluxweb.contract()
      • method.call()
      • method.send()
    • polluxweb.utils
      • transaction.txJsonToPb
      • transaction.txPbToTxID
      • message.hashMessage
  • Pollux CLI
    • Pollux CLI
  1. Query The Network

GetNodeInfo

Developing
GET
/wallet/getnodeinfo

Query Node Information. Returns details about the current state of the node.
Returns
Here is the table you requested:

FieldTypeDescription
beginSyncNumint64Begin sync block number
blockstringLatest block information, including block height and block id
solidityBlockstringThe latest solidified block information, including block height and block id
currentConnectCountint32The current connect count
activeConnectCountint32Active node connection count
passiveConnectCountint32Passive node connection count
totalFlowint64Total TCP flow
peerInfoListPeerInfo[]Peer node information, please refer to protobuf for details
configNodeInfoConfigNodeInfoNode configuration information, please refer to protobuf for details
machineInfoMachineInfoThe information of the machine where the node is located, please refer to protobuf for details
cheatWitnessInfoMapmap<string, string>SR information that may be suspected of cheating

Request

None

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/wallet/getnodeinfo'

Responses

🟢200Success
application/json
Body
object {0}
Examples
{
    "activeConnectCount": 2,
    "beginSyncNum": 51266241,
    "block": "Num:51266261,ID:00000000030e42d58918ea7e00a2ed35eb867bd04025eb034de65ca8dce9f352",
    "cheatWitnessInfoMap": {},
    "configNodeInfo": {
        "activeNodeSize": 3,
        "allowAdaptiveEnergy": 1,
        "allowCreationOfContracts": 1,
        "backupListenPort": 10001,
        "backupMemberSize": 0,
        "backupPriority": 6,
        "codeVersion": "4.7.7",
        "dbVersion": 2,
        "discoverEnable": true,
        "listenPort": 16666,
        "maxConnectCount": 30,
        "maxTimeRatio": 5,
        "minParticipationRate": 0,
        "minTimeRatio": 0,
        "p2pVersion": "1",
        "passiveNodeSize": 0,
        "sameIpMaxConnectCount": 2,
        "sendNodeSize": 3,
        "supportConstant": true,
        "versionNum": "18386"
    },
    "currentConnectCount": 2,
    "machineInfo": {
        "cpuCount": 4,
        "cpuRate": 0.08333333333333334,
        "deadLockThreadCount": 0,
        "deadLockThreadInfoList": [],
        "freeMemory": 191881216,
        "javaVersion": "1.8.0_291",
        "jvmFreeMemory": 4419093776,
        "jvmTotalMemory": 9341566976,
        "memoryDescInfoList": [
            {
                "initSize": 2555904,
                "maxSize": 268435456,
                "name": "Code Cache",
                "useRate": 0.2835428714752197,
                "useSize": 76112960
            },
            {
                "initSize": 0,
                "maxSize": 536870912,
                "name": "Metaspace",
                "useRate": 0.15735317766666412,
                "useSize": 84478344
            },
            {
                "initSize": 0,
                "maxSize": 528482304,
                "name": "Compressed Class Space",
                "useRate": 0.017399379185267856,
                "useSize": 9195264
            },
            {
                "initSize": 2577006592,
                "maxSize": 2577006592,
                "name": "Par Eden Space",
                "useRate": 0.07195208292272774,
                "useSize": 185420992
            },
            {
                "initSize": 322109440,
                "maxSize": 322109440,
                "name": "Par Survivor Space",
                "useRate": 0.05657384024510427,
                "useSize": 18222968
            },
            {
                "initSize": 6442450944,
                "maxSize": 6442450944,
                "name": "CMS Old Gen",
                "useRate": 0.7324586994946003,
                "useSize": 4718829240
            }
        ],
        "osName": "Linux 3.10.0-1160.49.1.el7.x86_64",
        "processCpuRate": 0.07291666666666667,
        "threadCount": 183,
        "totalMemory": 16260251648
    },
    "passiveConnectCount": 0,
    "peerList": [
        {
            "active": true,
            "avgLatency": 157,
            "blockInPorcSize": 0,
            "connectTime": 1733715861530,
            "disconnectTimes": 0,
            "headBlockTimeWeBothHave": 0,
            "headBlockWeBothHave": "Num:51266261,ID:00000000030e42d58918ea7e00a2ed35eb867bd04025eb034de65ca8dce9f352",
            "host": "/54.69.254.172",
            "inFlow": 0,
            "lastBlockUpdateTime": 1737538782325,
            "lastSyncBlock": "",
            "localDisconnectReason": "",
            "needSyncFromPeer": false,
            "needSyncFromUs": false,
            "nodeCount": 0,
            "nodeId": "76745c6b8fefe12f2618c4158bca0b0dba64140fd637a8e99c2d276cfa8407c89eacce3b419ac85db9c70cabecd6d266d6f4f366a5803713939ca623f5f8aea4",
            "port": 16666,
            "remainNum": 0,
            "remoteDisconnectReason": "",
            "score": 0,
            "syncBlockRequestedSize": 0,
            "syncFlag": false,
            "syncToFetchSize": 0,
            "syncToFetchSizePeekNum": -1,
            "unFetchSynNum": 0
        },
        {
            "active": true,
            "avgLatency": 157,
            "blockInPorcSize": 0,
            "connectTime": 1733715861529,
            "disconnectTimes": 0,
            "headBlockTimeWeBothHave": 0,
            "headBlockWeBothHave": "Num:51266261,ID:00000000030e42d58918ea7e00a2ed35eb867bd04025eb034de65ca8dce9f352",
            "host": "/54.186.12.211",
            "inFlow": 0,
            "lastBlockUpdateTime": 1737538782325,
            "lastSyncBlock": "",
            "localDisconnectReason": "",
            "needSyncFromPeer": false,
            "needSyncFromUs": false,
            "nodeCount": 0,
            "nodeId": "76745c6b8fefe12f2618c4158bca0b0dba64140fd637a8e99c2d276cfa8407c89eacce3b419ac85db9c70cabecd6d266d6f4f366a5803713939ca623f5f8aea4",
            "port": 16666,
            "remainNum": 0,
            "remoteDisconnectReason": "",
            "score": 0,
            "syncBlockRequestedSize": 0,
            "syncFlag": false,
            "syncToFetchSize": 0,
            "syncToFetchSizePeekNum": -1,
            "unFetchSynNum": 0
        }
    ],
    "solidityBlock": "Num:51266243,ID:00000000030e42c3a12c6b3880a5d3cf0efa9e95e4a35f62eeb1d050bb8c4dfa",
    "totalFlow": 0
}
Previous
ListNodes
Next
GetChainParameters
Built with