Helper function that will convert a value in TRX to SUN. (1 SUN = 0.000001 TRX)
Usage
tronWeb.toSun()
Parameter
Number
Return
String
Example
tronWeb.toSun(10)
>"10000000"
Helper function that will convert a value in TRX to SUN. (1 SUN = 0.000001 TRX)
Usage
tronWeb.toSun()
Parameter
Number
Return
String
Example
tronWeb.toSun(10)
>"10000000"