Query TRON real-time network data: latest block height, current TPS, node count, latest TVL, total transaction count, real-time vote count. Use when user ask...
Use when: User asks for "confirmed block", "solidified block height", or needs a stable block number. If user asks "latest block height" or "current block", clarify that the response is the solidified block and may lag behind the chain head.
Response: number (block height), hash, size, timestamp, witness, tx count, etc.
Note: Fields such as witnessName, fee, energyUsage, blockReward, voteReward, confirmations, netUsage may be 0 or null (underlying API does not return them)—ignore them. Use tronscan-block-infogetBlocks when these fields are needed.
getCurrentTps
API: getCurrentTps — Get current TPS, latest block height, and historical max TPS
Use when: User asks for "real-time TPS", "current TPS", "throughput", or "latest block height".
Response: currentTps, latest block height, historical max TPS.
getHomepageData
API: getHomepageData — Get homepage data (TPS, node count, overview, frozen, TVL, etc.)
Use when: User asks for "network overview", "node count", "TVL", or "homepage stats".
Response: TPS, node count, chain overview, frozen resources, TVL, etc.
getNodeMap
API: getNodeMap — Get current node info and geographic distribution
Use when: User asks for "node count", "node distribution", or "node map".
Response: Current node info and geographic distribution.
Use when: User asks for "total transaction count" or "tx volume".
Response: Total tx count, token tx volume, and other aggregates.
Troubleshooting
MCP connection failed: If you see "Connection refused", verify TronScan MCP is connected in Settings > Extensions.
API rate limit / 429: TronScan API has call count and frequency limits when no API key is used. If you encounter rate limiting or 429 errors, go to TronScan Developer API to apply for an API key, then add it to your MCP configuration and retry.
Notes
For a single "real-time network" dashboard, prefer getHomepageData first (covers TPS, nodes, TVL); then add getCurrentTps for precise TPS/height, getWitnessGeneralInfo for votes, and getTransactionStatistics for total tx count.
All tools are invoked via TronScan MCP tools/call with the tool name and required arguments.
getLatestBlock may return 0/null for witnessName, blockReward, voteReward, fee, energyUsage, netUsage, confirmations; use tronscan-block-infogetBlocks when these fields are needed.