返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
t

trongrid-block-info

Query and analyze TRON blocks including producer info, transaction breakdown, rewards, burns, and network load. Use when a user asks about a specific block, latest block, block height, block rewards, block producer, transaction count, or network status. Supports single block lookup, block ranges, confirmed blocks, and multi-block trend analysis.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.3
安全检测
已通过
241
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

trongrid-block-info

# Block Info Query and analyze TRON blocks — latest block data, block rewards, producer info, TRX burns, resource consumption, transaction breakdown, and network load trends. # MCP Server - **Prerequisite**: [TronGrid MCP Guide](https://developers.tron.network/reference/mcp-api) ## Instructions ### Step 1: Fetch Block Data Choose the right tool based on the query: | Query Type | Tool | Parameters | |-----------|------|------------| | Latest block | `getBlock` | none (omit `id_or_num`) | | Latest confirmed block | `solidityGetBlock` | none (omit `id_or_num`) | | Block by number | `getBlock` | `id_or_num=<height>`, `detail=false` | | Block range | loop `getBlock` | `id_or_num=<height>` incrementing, `detail=false` | | Latest N blocks | loop `getBlock` N times | start from latest, decrement `id_or_num` | | Block statistics | `getBlockStatistics` | `blockNum` | ### Step 2: Parse Block Header Extract from the block response: - **Block Number** (height), **Block Hash**, **Timestamp** - **Parent Hash** (link to previous block) - **Witness Address** (producer SR) - **Version** number ### Step 3: Identify Block Producer 1. Extract witness address from block header 2. Call `getPaginatedNowWitnessList` to match address to SR name/URL 3. Call `getBrokerage` for the producing SR to get reward distribution ratio ### Step 4: Analyze Block Transactions 1. Count and categorize transactions from block data: TRX transfers, TRC-10 transfers, smart contract calls, contract deployments, staking, voting, other 2. Call `getTransactionInfoByBlockNum` for receipts — reveals total fees, energy consumed, bandwidth consumed, success/failure counts ### Step 5: Calculate Rewards & Burns From transaction receipts: - **Block Reward**: 16 TRX per block (current parameter) - **TRX Burned**: Sum of energy/bandwidth/account creation fees burned - **SR Revenue**: Block reward + allocated transaction fees ### Step 6: Assess Network Load Compare block metrics against capacity: - Transaction density vs. block capacity - Energy/bandwidth utilization rates - For trends, loop `getBlock` 10–20 times (decrementing `id_or_num`) and compare ### Step 7: Check Block Events Call `getEventsByBlockNumber` for smart contract events (DeFi swaps, token transfers, governance actions). ### Step 8: Compile Block Report ``` ## Block #[number] ### Overview - Hash: [hash] - Time: [timestamp] - Producer: [SR name] ([address]) - Brokerage: [X%] ### Transactions - Total: [count] (Success: [X], Failed: [Y]) | Type | Count | % | |------|-------|---| | TRX Transfer | XX | XX% | | Contract Call | XX | XX% | | Staking | XX | XX% | ### Economics - Block Reward: [X] TRX - Fees: [X] TRX | Burned: [X] TRX ### Resources - Energy Used: [amount] - Bandwidth Used: [amount] - Network Load: [Low/Medium/High] ``` For multi-block trend queries: ``` ## Network Status (Last [N] Blocks) - Avg Transactions/Block: [count] - Avg Block Time: [X.X]s - Total TRX Burned: [amount] - Current Height: #[number] - Load Trend: [Increasing/Stable/Decreasing] ``` ## Error Handling | Error | Cause | Resolution | |-------|-------|------------| | Block not found | Future block number or invalid hash | Check current height with `getBlock` (no params) first | | Empty block | Block with zero transactions | Report as empty block — this is normal for low-activity periods | | Range too large | Looping `getBlock` for many blocks | Split into smaller batches; avoid requesting more than 100 blocks in a single flow | | No events | Block has no smart contract activity | Skip events section, note "No contract events in this block" | ## Examples - [Get latest block details](examples/latest-block-details.md) - [Analyze block rewards](examples/block-reward-analysis.md)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 trongrid-block-info-1776121876 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 trongrid-block-info-1776121876 技能

通过命令行安装

skillhub install trongrid-block-info-1776121876

下载

⬇ 下载 trongrid-block-info v1.0.3(免费)

文件大小: 4.54 KB | 发布时间: 2026-4-15 14:43

v1.0.3 最新 2026-4-15 14:43
No code or documentation changes detected for version 1.0.3.

- No updates or modifications since the previous release.
- All instructions, features, and examples remain unchanged.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部