Helper function that will convert a value in SUN to TRX. (1 SUN = 0.000001 TRX)
Usage
tronWeb.fromSun()
Parameter
String or Number
Return
String
Example
> tronWeb.fromSun("1000000")
'1'
Helper function that will convert a value in SUN to TRX. (1 SUN = 0.000001 TRX)
Usage
tronWeb.fromSun()
Parameter
String or Number
Return
String
Example
> tronWeb.fromSun("1000000")
'1'