Transaction
Last updated
Was this helpful?
Last updated
Was this helpful?
You can use Tronweb to complete the tasks of this section, for more details, please refer to:
Alternatively, you can use to generate a signed transaction.
The above document shows the complete workflow of using APIs, Here is mainly Tronweb, using freezeBalance as an example.
Create an unsigned transaction for freezing balance.
Sign the transaction with your private key.
❗️
Never use this in any web / user-facing applications, as it will expose your private key. For security reasons, please use a local full node.
Broadcast the signed transaction.
📘
The broadcasting function in Tronweb is
sendrawtransaction
without a 'broadcast' keyword, refer to the for details.
JavaScript
The mechanism of TRON's block validation is that a block is validated after this block is produced and 19 different SRs produce subsequent blocks based on this block.
When a block is confirmed, transactions inside are all confirmed. TRON provides the /walletsolidty/ interface to make it easier for users to search for confirmed transactions; the following describes how to confirm different types of transactions.
There are many types of transactions in TRON network: Please read these contents for more details.