← 返回
数据分析 中文

TronScan Block Info

Query TRON latest block, block reward, block time, producer, burned TRX, resource use, transaction count. Use when user asks "latest block", "block height",...
查询 TRON 最新区块信息,包括区块奖励、区块时间、生产者、燃烧的 TRX、资源使用和交易数量。当用户询问“最新区块”、“区块高度”等时使用。
sshnii
数据分析 clawhub v1.0.4 3 版本 100000 Key: 无需
★ 1
Stars
📥 619
下载
💾 8
安装
3
版本
#block#blockchain#latest#tron#tronscan

概述

Block Info

Overview

ToolFunctionUse Case
--------------------------
getLatestBlockLatest blockBlock number, hash, size, timestamp, witness, tx count
getBlocksBlock listPagination, sort, filter by producer/time
getBlockStatisticBlock statistics24h payment total, block count, burn total

Use Cases

  1. Latest Block: Use getLatestBlock for current block number, hash, size, timestamp, witness, tx count.
  2. Block Reward: Reward info can be derived from block data or chain params; block list gives block-level data.
  3. Block Time / Producer: Use getLatestBlock or getBlocks for timestamp and witness (producer).
  4. Burned TRX: Use getBlockStatistic for 24h burn total; per-block burn may be in block payload.
  5. Resource Consumption: Block-level resource use is reflected in block size and tx count; use getBlockStatistic for aggregates.
  6. Transaction Count: Use getLatestBlock for tx count in latest block; use getBlocks for multiple blocks.
  7. Network Load: Combine getLatestBlock, getBlocks, and getBlockStatistic for real-time load view.

MCP Server

Tools

getLatestBlock

  • API: getLatestBlock — Calls /api/block/latest; returns latest solidified block (number, hash, size, timestamp, witness, tx count)
  • Use when: User asks for "latest block", "current block", or "block height".
  • Response: number, hash, size, timestamp, witness, tx count, etc.
  • 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.

getBlocks

  • API: getBlocks — Get block list with pagination, sort, filter by producer/time range
  • Use when: User asks for "recent blocks", "blocks by producer", or "blocks in time range".
  • Input: limit, sort (e.g. -number), optional producer address, start/end time.

getBlockStatistic

  • API: getBlockStatistic — Get block statistics (24h payment total, block count, burn total)
  • Use when: User asks for "block stats", "24h blocks", or "burned TRX".
  • Response: 24h payment, block count, burn total, and related 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 "block reward", combine block data with getChainParameters (Witness category) if reward rules are needed.
  • Real-time monitoring: poll getLatestBlock and/or getBlockStatistic for load and burn.
  • 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.

版本历史

共 3 个版本

  • v1.0.4 当前
    2026-03-31 15:19 安全 安全
  • v1.0.0
    2026-03-26 22:25
  • v1.0.3
    2026-03-14 01:55

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 59,925
ai-intelligence

TronScan Token Scanner

sshnii
扫描 TRON 代币的总供应量、市值、价格、评级、发行时间、持有人信息,并包含 TRX 的价格、供应量、市值、日净变化等。
★ 2 📥 818
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 65,059