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",...

MIT-0 · Free to use, modify, and redistribute. No attribution required.
1 · 143 · 0 current installs · 0 all-time installs
byBigFrog@sshnii
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the runtime instructions: all calls and data referenced (latest block, blocks list, block stats) are relevant to a TRON block-info skill.
Instruction Scope
SKILL.md only describes calling TronScan MCP/API endpoints (getLatestBlock, getBlocks, getBlockStatistic) and how to combine their outputs; it does not instruct reading local files, unrelated env vars, or exfiltrating unrelated data.
Install Mechanism
No install spec and no code files — lowest-risk instruction-only skill. No downloads, packages, or binaries are requested.
Credentials
The skill declares no required environment variables or credentials. It mentions using an API key only as optional troubleshooting advice for rate limits, which is proportional to calling an external API.
Persistence & Privilege
Skill is not force-installed (always: false) and has default autonomous-invocation settings; this is normal for skills and no elevated persistence or cross-skill config changes are requested.
Assessment
This skill is coherent and appears to only query TronScan APIs via the MCP server it cites. Before installing, confirm you trust the MCP server URL (https://mcp.tronscan.org) and the skill publisher (no homepage is provided). Be aware the agent will make network requests to the Tronscan endpoints — if you have sensitive environment or network policies, restrict access accordingly. If you need rate-limited access, supply an API key only through your platform's secure config (not pasted into chat).

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.4
Download zip
blockvk97az99wnv8mf6mnk46mwshrx182prhdblockchainvk97az99wnv8mf6mnk46mwshrx182prhdlatestvk976tarp3sq8wffx6k4vjsar6182w2y6tronvk97az99wnv8mf6mnk46mwshrx182prhdtronscanvk97az99wnv8mf6mnk46mwshrx182prhd

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

SKILL.md

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.

Files

1 total
Select a file
Select a file to preview.

Comments

Loading comments…