Utils
toBigInt
Converts value
to a BigInt. If value
is a Uint8Array, it is treated as Big Endian data.
Parameters
Parameter | Type | Description |
---|---|---|
value | Uint8Array | BigNumberish | The value to convert. |
Returns
bigint
The value.
Converts value
to a BigInt. If value
is a Uint8Array, it is treated as Big Endian data.
Parameter | Type | Description |
---|---|---|
value | Uint8Array | BigNumberish | The value to convert. |
bigint
The value.