getTronWeb
Retrieves a TronWeb instance from a wallet account, allowing you to interact with the Tron blockchain using the full TronWeb API.Usage
Parameters
Returns
Promise<TronWeb> - A promise that resolves to a TronWeb instance from the tronweb package.
Errors
React
Related functions
- isTronWalletAccount - Check if a wallet account is a Tron account
- sendTransaction - Send a Tron transaction