getBalance
Get the account's balance of TRX, and display the TRX balance in SUN
Usage
tronWeb.trx.getBalance(address);
Parameters
String(HexString or Base58)
Return
Number
Example
//Parameter Base58
> await tronWeb.trx.getBalance('TTSFjEG3Lu9WkHdp4JrWYhbGP6K1REqnGQ');
> 29887074430
//Parameter HexString
> await tronWeb.trx.getBalance('41BF97A54F4B829C4E9253B26024B1829E1A3B1120');
> 29340074430