tuweni / org.apache.tuweni.units.ethereum / Wei / fromEth
fromEth
static fun fromEth(ethValue: Long): Wei! (source)
Return a Wei containing the specified value from an ETH
Parameters
ethValue - Long: the value in eth
Exceptions
IllegalArgumentException - If the value is negative.
Return
Wei!: A Wei containing the specified value.