Contract Analysis

Analyze a TRON smart contract's ABI, Energy cost, and risk information with a TronGrid skill.

Reference

PropertyValue
Skill IDtrongrid-contract-analysis
ClawHubView on ClawHub

Prerequisites

Before using this skill, install and load the skill package, then connect to TronGrid MCP in the same client. For installation and usage steps, see Use standalone skill packages. For connection details, see the MCP guide.

Purpose

Inspect smart contracts to understand their functionality, usage patterns, Energy costs, and potential risk indicators.

This information can inform further investigation but does not replace an independent security audit.

Workflow

  1. Fetch contract basics
  2. Parse ABI methods
  3. Analyze transaction activity
  4. Identify top callers
  5. Estimate energy costs
  6. Summarize potential risk indicators for further investigation
  7. Generate analysis report

Output Example

The following example illustrates the output format only; its values are not live query results. Actual output depends on the queried data.

Contract Analysis: TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t (USDT)

Basic Info:
- Type: TRC-20 token contract
- Deployed: 2019-04-10
- Creator: TXxx...

Method Stats:
- Total methods: 15
- Popular methods: transfer (73%), approve (15%), transferFrom (8%)

Activity Metrics:
- Total transactions: 1.2B+
- Daily average: 500K+
- Unique callers: 8M+

Energy Economics:
- transfer avg cost: 14,631 Energy
- approve avg cost: 8,500 Energy

Example questions

  • "What information about this contract needs further investigation?"
  • "Analyze contract TR7N..."
  • "What does this contract do?"

Related Skills