Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.qu.ai/llms.txt

Use this file to discover all available pages before exploring further.

function toBigInt(value): bigint
Converts value to a BigInt. If value is a Uint8Array, it is treated as Big Endian data.

Parameters

ParameterTypeDescription
valueUint8Array | BigNumberishThe value to convert.

Returns

bigint The value.

Source

utils/maths.ts:189