tronweb
Installation
SKILL.md
Skill is based on TronWeb v6.2.0, generated at 2026-02-25.
TronWeb is the official JavaScript/TypeScript SDK for the TRON network. It wraps the TRON HTTP API and provides a consistent API for accounts, blocks, transactions, smart contracts, and events. Use it in Node.js or the browser to build DApps, sign and broadcast transactions, and call contracts.
Core References
| Topic | Description | Reference |
|---|---|---|
| Instance setup | fullHost, nodes, headers, privateKey, setPrivateKey/setAddress | core-instance-setup |
| Address, units, encoding | hex/base58/checksum, toSun/fromSun, fromUtf8/toUtf8, sha3 | core-address-units |
| Trx | Blocks, transactions, accounts, bandwidth, sign, broadcast, getCurrentRefBlockParams, signTypedData, ecRecover | core-trx |
| Utils | ABI, transaction, deserializeTx, accounts, address, validations | core-utils |
| Providers | HttpProvider, request, isConnected, timeout, headers, setStatusPage | core-providers |
| Constants | ADDRESS_PREFIX, SUN/TRX, default feeLimit, BIP44 path | core-constants |