toBigInt
@bidask-protocol/sdk / toBigInt
Function: toBigInt()
toBigInt(
amount
,decimals
):bigint
Defined in: utils/bigint.ts:7
Converts a number or string to a bigint
Parameters
amount
The amount to convert
string
| number
decimals
The number of decimals
string
| number
Returns
bigint
The bigint value