← 返回
未分类 中文

tronlink-skills

This skill should be used when the user asks to 'check my TRX balance', 'show my TRON holdings', 'what tokens do I have on TRON', 'check my TRON wallet', 'Tr...
This skill should be used when the user asks to 'check my TRX balance', 'show my TRON holdings', 'what tokens do I have on TRON', 'check my TRON wallet', 'Tr...
bbsyaya
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 481
下载
💾 0
安装
1
版本
#latest

概述

TRON Wallet Management

6 commands for wallet balance, TRC-20 holdings, transaction history, account info, address validation, and multi-sig support.

Pre-flight Checks

  1. Confirm Node.js: Run `node -e "console.log('ok')" # Node.js >= 18 required
  1. API Key (optional): For higher rate limits, set:

```bash

export TRONGRID_API_KEY="your-api-key"

```

Skill Routing

  • For token metadata / search → use tron-token
  • For market prices / charts → use tron-market
  • For DEX swap → use tron-swap
  • For energy / bandwidth → use tron-resource
  • For staking / voting → use tron-staking

Commands

1. Check TRX Balance

node scripts/tron_api.mjs wallet-balance --address <TRON_ADDRESS>

Returns: TRX balance (human-readable), frozen TRX, account creation time.

2. Check TRC-20 Token Balance

node scripts/tron_api.mjs token-balance --address <TRON_ADDRESS> --contract <TOKEN_CONTRACT>

Common TRC-20 contracts:

TokenContract
-----------------
USDTTR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t
USDCTEkxiTehnzSmSe2XqrBj4w32RUN966rdz8
WTRXTNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR
BTTTAFjULxiVgT4qWk6UZwjqwZXTSaGaqnVp4
JSTTCFLL5dx5ZJdKnWuesXxi1VPwjLVmWZZy9
SUNTSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S
WINTLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7

3. Get All TRC-20 Holdings

node scripts/tron_api.mjs wallet-tokens --address <TRON_ADDRESS>

Returns: list of all TRC-20 tokens with balances, symbols, and USD values.

4. Transaction History

node scripts/tron_api.mjs tx-history --address <TRON_ADDRESS> --limit 20

Returns: recent transactions with type, amount, timestamp, status.

5. Account Info

node scripts/tron_api.mjs account-info --address <TRON_ADDRESS>

Returns: account creation date, permissions, resource overview, frozen balances, voting info.

6. Validate Address

node scripts/tron_api.mjs validate-address --address <ADDRESS>

Returns: whether the address is valid TRON Base58Check format.

Address Format Notes

  • TRON addresses start with T and are 34 characters long (Base58Check)
  • Hex addresses start with 41 and are 42 hex characters
  • Example: TNPeeaaFB7K9cmo4uQpcU32zGK8G1NYqeL
  • The script accepts both formats and auto-converts

Common Token Contracts (Mainnet)

USDT:  TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t
USDC:  TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8
WTRX:  TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR
TUSD:  TUpMhErZL2fhh4sVNULAbNKLokS4GjC1F4
BTT:   TAFjULxiVgT4qWk6UZwjqwZXTSaGaqnVp4
JST:   TCFLL5dx5ZJdKnWuesXxi1VPwjLVmWZZy9
SUN:   TSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S
WIN:   TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7
NFT:   TFczxzPhnThNSqr5by8tvxsdCFRRz6cPNq
APENFT: TFczxzPhnThNSqr5by8tvxsdCFRRz6cPNq

Troubleshooting

"Account not found": The address has never been activated on TRON. A minimum of 1 TRX must be sent to activate it.

"Bandwidth insufficient": The account has used up its daily free bandwidth (600). Either wait for daily reset, freeze TRX for bandwidth, or the transaction will burn TRX as fee.

"Energy insufficient for TRC-20": Smart contract calls require Energy. Freeze TRX for Energy via tron-staking, or TRX will be burned (often 13-27 TRX for a USDT transfer).

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-02 10:34 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,370 📥 319,594
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,070 📥 804,332
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,895