static fun valueOf(value: UInt256): Wei
(source)static fun valueOf(value: Long): Wei
(source)static fun valueOf(value: BigInteger): Wei
(source)
Return a Wei containing the specified value.
value
- The value to create a Wei for.
IllegalArgumentException
- If the value is negative.
Return
A Wei containing the specified value.