360 Secure SkillHub
360 安全技能中心

trongrid-account-profiling

通过 TronGrid MCP 工具逐步校验 TRON 地址,查询 TRX 与 TRC-20/TRC-10 持仓、能量与带宽资源、质押委托、投票奖励及交易历史,识别 DeFi 交互,最后按固定模板输出账户画像与账户类型分类。

greason
greason
热度 53.60
最近更新 2026-05-11 17:30:48
分类:数据依赖:MCP 服务 / 第三方 API应用场景:数据处理 / 报告撰写 / 财务 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add trongrid-account-profiling
Metadata
name
trongrid-account-profiling
description
Analyze any TRON account's assets, token holdings, staking, voting, energy/bandwidth, and transaction patterns. Use when a user asks about a TRON address, wants to check wallet balance, analyze account activity, track whale wallets, or look up what an address holds. Covers TRX balance, TRC-20/TRC-10 tokens, resource usage, delegation, voting rewards, transaction history, and DeFi participation.
metadata
{"version":"1.0.0","mcp-server":"trongrid"}

Account Profiling

Build a comprehensive profile of any TRON account covering asset holdings, resource status, staking/voting behavior, transaction patterns, and investment preferences.

MCP Server

Instructions

Step 1: Validate the Address

Call validateAddress with the target address. If invalid, inform the user and ask for correction before proceeding.

Step 2: Fetch Account Fundamentals

Run these calls in parallel for speed:

  1. getAccount — TRX balance, TRC-10 holdings (assetV2), creation time, permissions, frozen balances (Stake 1.0 & 2.0), vote info
  2. getAccountResource — Energy/bandwidth limits, usage, delegated resources, staked TRX amounts
  3. getAccountNet — Free and staked bandwidth details

Step 3: Fetch Token Holdings

  1. getTrc20Balance — All TRC-20 token balances
  2. For significant holdings, call getTrc20Info with contract addresses to resolve token names, symbols, and decimals
  3. TRC-10 assets are already in the getAccount response (assetV2 field)

Step 4: Analyze Staking & Voting

  1. getDelegatedResourceAccountIndexV2 — List of addresses this account delegates to / receives from
  2. getDelegatedResourceV2 — Detailed delegation amounts for specific pairs
  3. getReward — Unclaimed voting rewards
  4. Extract vote list from getAccount response to show which SRs the account votes for

Step 5: Examine Transaction History

  1. getAccountTransactions — Recent transaction history (use limit and order_by params)
  2. getAccountTrc20Transactions — TRC-20 transfer history
  3. getInternalTransactions — Contract-triggered internal transfers

Analyze patterns: frequency, common types (transfers/contract calls/staking), most-interacted addresses, average value.

Step 6: Identify DeFi Participation

From transaction history, identify interactions with known DeFi protocols (SunSwap, JustLend, SunIO, etc.) and categorize as DEX trades, liquidity provision, lending/borrowing, or yield farming.

Step 7: Compile Account Profile

Present findings in this format:

## Account Profile: [address]

### Overview
- Created: [date]
- Account Type: [Regular/Contract/SR]
- Total Asset Value: ~$[estimated USD value]

### TRX Holdings
- Available: [amount] TRX
- Staked (Energy): [amount] TRX
- Staked (Bandwidth): [amount] TRX

### Token Holdings
| Token | Balance | Value (USD) |
|-------|---------|-------------|
| USDT  | X,XXX   | $X,XXX      |

### Resources
- Energy: [used]/[total] ([X%] utilized)
- Bandwidth: [used]/[total] ([X%] utilized)

### Voting & Staking
- Votes Cast: [total]
- Voting For: [SR list]
- Unclaimed Rewards: [amount] TRX

### Activity Analysis
- Recent Activity (30d): [count] transactions
- Primary Activities: [transfer/contract call/staking]
- Most Interacted Contracts: [list]

### Account Classification
- Type: [Whale/Active Trader/HODLer/DeFi User/Developer/Inactive]
- Activity Trend: [Increasing/Stable/Decreasing]

Error Handling

Error Cause Resolution
Invalid address Malformed TRON address Ask user to verify the address format (T-prefix, 34 chars)
Empty account Address exists but never activated Inform user this address has no on-chain activity
No TRC-20 data Account has no TRC-20 tokens Skip token section, note "No TRC-20 holdings found"
API timeout TronGrid rate limit or network issue Retry the specific failed call; partial results are still useful

Examples