tronweb

TronWeb — JavaScript/TypeScript SDK for TRON (HTTP API, contracts, transactions, events).

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tronweb" with this command: npx skills add hairyf/blockchain-skills/hairyf-blockchain-skills-tronweb

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

TopicDescriptionReference
Instance setupfullHost, nodes, headers, privateKey, setPrivateKey/setAddresscore-instance-setup
Address, units, encodinghex/base58/checksum, toSun/fromSun, fromUtf8/toUtf8, sha3core-address-units
TrxBlocks, transactions, accounts, bandwidth, sign, broadcast, getCurrentRefBlockParams, signTypedData, ecRecovercore-trx
UtilsABI, transaction, deserializeTx, accounts, address, validationscore-utils
ProvidersHttpProvider, request, isConnected, timeout, headers, setStatusPagecore-providers
ConstantsADDRESS_PREFIX, SUN/TRX, default feeLimit, BIP44 pathcore-constants

Features

Transactions and contracts

TopicDescriptionReference
TransactionBuildersendTrx, sendToken, freeze/unfreeze, triggerSmartContract, createSmartContract, deployConstantContractfeatures-transaction-builder
Contractcontract(abi, address), methods.call/send, decodeInput, new(), at()features-contract
EventsgetEventsByContractAddress, getEventsByTransactionID, getEventsByBlockNumber, setServerfeatures-events
Pluginregister(PluginClass), pluginInterface (requires, components, fullClass)features-plugin
Message and typed datasignMessage/verifyMessage, signTypedData/verifyTypedData, EIP-712 TypedDataEncoderfeatures-message-typed-data
Connection and versionisConnected(), fullnodeSatisfies(version), getFullnodeVersion()features-connection-version
Trx tokens and chaingetTokenFromID, getTokensIssuedByAddress, getAccountResources, getChainParametersfeatures-trx-tokens-resources

Best practices

TopicDescriptionReference
Errors and typingError instances (e.message), ABI as const for contract inferencebest-practices-errors-typing
Param validationValidator, notValid(params), param types (address, integer, resource, url, hex, etc.)best-practices-param-validation
Multi-signaturegetSignWeight, getApprovedList, multiSign, permissionIdbest-practices-multisig
Transaction lifecycleSign → broadcast → getTransactionInfo, handling receipt and FAILEDbest-practices-transaction-lifecycle

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

openzeppelin-contracts

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

viem

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

ton

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

solana-anchor

No summary provided by upstream source.

Repository SourceNeeds Review