sendTransaction
Sends a Tron transaction to transfer TRX to a recipient address.Usage
Parameters
Returns
Promise<TronBroadcastReturnSignedTransaction> - A promise that resolves to the broadcast result of the signed transaction.
Errors
Notes
- The amount is specified in TRX and is automatically converted to SUN (Tron’s smallest unit) internally
- The function verifies that the wallet account is available for signing before sending the transaction
React
Related functions
- getTronWeb - Get the TronWeb instance for more advanced operations
- isTronWalletAccount - Check if a wallet account is a Tron account