一键导入
error-analysis
Analyze TRON blockchain transaction errors using AI to provide concise, user-friendly explanations with root causes and actionable solutions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze TRON blockchain transaction errors using AI to provide concise, user-friendly explanations with root causes and actionable solutions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Manage address aliases and transfer history. Auto-create contact names from transfer memos, track transfer counts, and quickly access frequently-used addresses.
Analyze address behavior patterns from transaction history. Detect anomalies, identify activity patterns, and alert on suspicious changes.
Check TRON addresses for security risks using TronScan labels, blacklists, scam detection, and fraud transaction history before interacting.
Scan wallet for token approvals and detect risky unlimited allowances. Critical for security.
Analyze energy costs for TRON transactions and generate rental proposals to save on fees. Compares burning TRX vs renting energy from platforms.
Detect malicious TRON addresses using TronScan's official tag/label database to identify scam, phishing, and fraudulent addresses.
| name | error-analysis |
| description | Analyze TRON blockchain transaction errors using AI to provide concise, user-friendly explanations with root causes and actionable solutions. |
Use this skill when:
Analyzes TRON blockchain errors and provides:
Output is extremely concise (< 100 characters total).
| Error Message | Meaning | Solution |
|---|---|---|
balance is not sufficient | TRX balance too low | Top up TRX |
Contract validate error | Energy/bandwidth shortage | Stake or rent energy |
account not found | Account not activated | Send 1 TRX to activate |
Transaction expired | TX took too long | Retry transaction |
REVERT opcode | Smart contract execution failed | Check contract parameters |
from skills.error_analysis.scripts.analyze_error import analyze_error
result = await analyze_error(
error_message="Contract validate error : No contract or Not enough energy",
error_context="broadcast" # Optional: "transfer", "signing", "broadcast"
)
# Returns:
# {
# "analysis": "TRX余额不足支付手续费",
# "causes": ["未质押获取能量", "账户余额 < 手续费"],
# "suggestions": ["充值 TRX", "质押获取能量"]
# }
Concise format (< 100 chars):
原因:TRX余额不足
1. 未质押获取能量
2. 账户余额 < 手续费
建议:
1. 充值 TRX
2. 质押获取能量
Automatically decodes hex-encoded error messages:
436f6e747261637420...)transfer - Error during transfer preparationsigning - Error during wallet signingbroadcast - Error during network broadcastvalidation - Error during transaction validationUses optimized prompt for brevity:
Skill is called by:
/api/analyze-error (current)analyze_error function