toBigInt
@foprta/sdk / toBigInt
Function: toBigInt()
toBigInt(
amount
,decimals
):bigint
Defined in: utils/bigint.ts:8
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