Utils
getUint
Returns value
as a bigint, validating it is valid as a bigint value and that it is positive.
Parameters
Parameter | Type | Description |
---|---|---|
value | BigNumberish | The value to convert. |
name ? | string | The name of the value. |
Returns
bigint
The value.
Throws
If the value is negative.
Source
Was this page helpful?