Install
openclaw skills install trongrid-account-profilingAnalyze 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.
openclaw skills install trongrid-account-profilingBuild a comprehensive profile of any TRON account covering asset holdings, resource status, staking/voting behavior, transaction patterns, and investment preferences.
Call validateAddress with the target address. If invalid, inform the user and ask for correction before proceeding.
Run these calls in parallel for speed:
getAccount — TRX balance, TRC-10 holdings (assetV2), creation time, permissions, frozen balances (Stake 1.0 & 2.0), vote infogetAccountResource — Energy/bandwidth limits, usage, delegated resources, staked TRX amountsgetAccountNet — Free and staked bandwidth detailsgetTrc20Balance — All TRC-20 token balancesgetTrc20Info with contract addresses to resolve token names, symbols, and decimalsgetAccount response (assetV2 field)getDelegatedResourceAccountIndexV2 — List of addresses this account delegates to / receives fromgetDelegatedResourceV2 — Detailed delegation amounts for specific pairsgetReward — Unclaimed voting rewardsgetAccount response to show which SRs the account votes forgetAccountTransactions — Recent transaction history (use limit and order_by params)getAccountTrc20Transactions — TRC-20 transfer historygetInternalTransactions — Contract-triggered internal transfersAnalyze patterns: frequency, common types (transfers/contract calls/staking), most-interacted addresses, average value.
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.
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 | 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 |