1---2name: tronscan-block-info3description: Query TRON latest block, block reward, block time, producer, burned TRX, resource use, transaction count. Use when user asks "latest block", "block height", "block producer", "block reward", "burned TRX", or network load. Do NOT use for real-time TPS/network dashboard (use tronscan-realtime-network); tx by hash (use tronscan-transaction-info).4---56# Block Info78## Overview910| Tool | Function | Use Case |11|------|----------|----------|12| getLatestBlock | Latest block | Block number, hash, size, timestamp, witness, tx count |13| getBlocks | Block list | Pagination, sort, filter by producer/time |14| getBlockStatistic | Block statistics | 24h payment total, block count, burn total |1516## Use Cases17181. **Latest Block**: Use `getLatestBlock` for current block number, hash, size, timestamp, witness, tx count.192. **Block Reward**: Reward info can be derived from block data or chain params; block list gives block-level data.203. **Block Time / Producer**: Use `getLatestBlock` or `getBlocks` for timestamp and witness (producer).214. **Burned TRX**: Use `getBlockStatistic` for 24h burn total; per-block burn may be in block payload.225. **Resource Consumption**: Block-level resource use is reflected in block size and tx count; use `getBlockStatistic` for aggregates.236. **Transaction Count**: Use `getLatestBlock` for tx count in latest block; use `getBlocks` for multiple blocks.247. **Network Load**: Combine `getLatestBlock`, `getBlocks`, and `getBlockStatistic` for real-time load view.2526## MCP Server2728- **Prerequisite**: [TronScan MCP Guide](https://mcpdoc.tronscan.org)2930## Tools3132### getLatestBlock3334- **API**: `getLatestBlock` — Calls `/api/block/latest`; returns latest solidified block (number, hash, size, timestamp, witness, tx count)35- **Use when**: User asks for "latest block", "current block", or "block height".36- **Response**: number, hash, size, timestamp, witness, tx count, etc.37- **Note**: `/api/block/latest` does not return `witnessName`, `fee`, `energyUsage`, `blockReward`, `voteReward`, `confirmations`, `netUsage`. These may appear as 0 or null in the response—ignore them. For witness name, block reward, fees, or resource usage, use `getBlocks` instead.3839### getBlocks4041- **API**: `getBlocks` — Get block list with pagination, sort, filter by producer/time range42- **Use when**: User asks for "recent blocks", "blocks by producer", or "blocks in time range".43- **Input**: limit, sort (e.g. `-number`), optional producer address, start/end time.4445### getBlockStatistic4647- **API**: `getBlockStatistic` — Get block statistics (24h payment total, block count, burn total)48- **Use when**: User asks for "block stats", "24h blocks", or "burned TRX".49- **Response**: 24h payment, block count, burn total, and related aggregates.5051## Troubleshooting5253- **MCP connection failed**: If you see "Connection refused", verify TronScan MCP is connected in Settings > Extensions.54- **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](https://tronscan.org/#/developer/api) to apply for an API key, then add it to your MCP configuration and retry.5556## Notes5758- For "block reward", combine block data with `getChainParameters` (Witness category) if reward rules are needed.59- Real-time monitoring: poll `getLatestBlock` and/or `getBlockStatistic` for load and burn.60- `getLatestBlock` may return 0/null for `witnessName`, `blockReward`, `voteReward`, `fee`, `energyUsage`, `netUsage`, `confirmations` (underlying `/api/block/latest` does not provide them); use `getBlocks` when these fields are needed.