ワンクリックで
tronweb
TronWeb — JavaScript/TypeScript SDK for TRON (HTTP API, contracts, transactions, events).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
TronWeb — JavaScript/TypeScript SDK for TRON (HTTP API, contracts, transactions, events).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Go Ethereum (geth) — CLI, JSON-RPC, Clef, abigen, and developer workflows.
Agent-oriented skills for the Anchor framework—Solana program structure, accounts, CPI, IDL, clients, and tooling.
Solana Kit (JavaScript SDK) — RPC, signers, transactions, accounts, codecs, instruction plans, and program clients for agent-driven Solana tooling.
Solana blockchain development — core concepts, clients, RPC, tokens, and payments for agent-driven tooling.
TON Blueprint development environment — project layout, build/test/run, NetworkProvider, config, scripts, wrappers, and deploy/testing practices.
TON Blockchain — addresses, messages, TVM, cells, Blueprint, contracts, payments, API.
| name | tronweb |
| description | TronWeb — JavaScript/TypeScript SDK for TRON (HTTP API, contracts, transactions, events). |
| metadata | {"author":"Hairy","version":"2026.1.1","source":"Generated from https://github.com/tronprotocol/tronweb, scripts located at https://github.com/antfu/skills"} |
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.
| 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 |
| Topic | Description | Reference |
|---|---|---|
| TransactionBuilder | sendTrx, sendToken, freeze/unfreeze, triggerSmartContract, createSmartContract, deployConstantContract | features-transaction-builder |
| Contract | contract(abi, address), methods.call/send, decodeInput, new(), at() | features-contract |
| Events | getEventsByContractAddress, getEventsByTransactionID, getEventsByBlockNumber, setServer | features-events |
| Plugin | register(PluginClass), pluginInterface (requires, components, fullClass) | features-plugin |
| Message and typed data | signMessage/verifyMessage, signTypedData/verifyTypedData, EIP-712 TypedDataEncoder | features-message-typed-data |
| Connection and version | isConnected(), fullnodeSatisfies(version), getFullnodeVersion() | features-connection-version |
| Trx tokens and chain | getTokenFromID, getTokensIssuedByAddress, getAccountResources, getChainParameters | features-trx-tokens-resources |
| Topic | Description | Reference |
|---|---|---|
| Errors and typing | Error instances (e.message), ABI as const for contract inference | best-practices-errors-typing |
| Param validation | Validator, notValid(params), param types (address, integer, resource, url, hex, etc.) | best-practices-param-validation |
| Multi-signature | getSignWeight, getApprovedList, multiSign, permissionId | best-practices-multisig |
| Transaction lifecycle | Sign → broadcast → getTransactionInfo, handling receipt and FAILED | best-practices-transaction-lifecycle |