Trx.js
: A wrapper method that handles the creation, signing, and broadcasting of TRX from the owner to a recipient in a single execution. 3. Energy and Bandwidth Management
: Fetches the current native TRX balance of a targeted account.
js , such as or custom smart contract triggers? how to get correct address using ecrecover in tron trx.js
TRON utilizes a unique resource model (Bandwidth and Energy) instead of direct gas fees to prevent network spam.
Moving assets securely is the primitive of any blockchain network. : A wrapper method that handles the creation,
: Directing the transfer of native TRX and bandwidth/energy resources. 🛠️ Fundamental API Methods
: Retrieves the complete account data, including its staked energy, bandwidth, and asset pointers. 2. Native Token Transfers js , such as or custom smart contract triggers
The trx.js module exposes several high-level methods that developers invoke through the tronWeb.trx namespace. 1. Account and Balance Retrieval