TronScan Realtime Network
by @sshnii
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...
clawhub install tronscan-realtime-networkπ About This Skill
name: tronscan-realtime-network description: | 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 asks "real-time TPS", "current block height", "node count", "TVL", "total tx count", or network status. Do NOT use for historical trends (use tronscan-data-insights); block details (use tronscan-block-info). metadata: author: tronscan-mcp version: "1.0" mcp-server: https://mcp.tronscan.org/mcp
Realtime Network Data
Overview
| Tool | Function | Use Case | |------|----------|----------| | getLatestBlock | Latest solidified block | Solidified block height, hash, timestamp, witness, tx count | | getCurrentTps | TPS & height | Current TPS, latest block height, historical max TPS | | getHomepageData | Homepage summary | TPS, node count, chain overview, TVL, frozen | | getNodeMap | Node map | Real-time node info and geographic distribution | | getWitnessGeneralInfo | Witness aggregate | Total vote count, block stats, witness count | | getTransactionStatistics | Tx statistics | Total tx count, token tx volume aggregates |
Use Cases
1. Latest solidified block / confirmed block height: Use getLatestBlock for solidified block (not chain-head latest); use getCurrentTps for latest block height.
2. Real-time TPS: Use getCurrentTps for current TPS; use getHomepageData for overview TPS.
3. Real-time node count: Use getHomepageData for node count; use getNodeMap for node list and distribution.
4. Latest TVL: Use getHomepageData for latest TVL in homepage overview.
5. Total transaction count: Use getTransactionStatistics for total tx count and token tx volume.
6. Real-time vote count: Use getWitnessGeneralInfo for total vote count and witness stats.
MCP Server
Tools
getLatestBlock
getLatestBlock β Calls /api/block/latest; returns latest solidified block (number, hash, size, timestamp, witness, tx count). Note: Returns solidified block, not the chain-head latest block.witnessName, fee, energyUsage, blockReward, voteReward, confirmations, netUsage may be 0 or null (underlying API does not return them)βignore them. Use tronscan-block-info getBlocks when these fields are needed.getCurrentTps
getCurrentTps β Get current TPS, latest block height, and historical max TPSgetHomepageData
getHomepageData β Get homepage data (TPS, node count, overview, frozen, TVL, etc.)getNodeMap
getNodeMap β Get current node info and geographic distributiongetWitnessGeneralInfo
getWitnessGeneralInfo β Get witness aggregate stats (total votes, block stats, witness count)getTransactionStatistics
getTransactionStatistics β Get transaction statistics (total tx, token tx volume, etc.)Troubleshooting
Notes
getHomepageData first (covers TPS, nodes, TVL); then add getCurrentTps for precise TPS/height, getWitnessGeneralInfo for votes, and getTransactionStatistics for total tx count.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-info getBlocks when these fields are needed.β‘ When to Use
π Tips & Best Practices
getHomepageData first (covers TPS, nodes, TVL); then add getCurrentTps for precise TPS/height, getWitnessGeneralInfo for votes, and getTransactionStatistics for total tx count.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-info getBlocks when these fields are needed.