• For unsigned bigint of n bits

    Generated values will be between 0 (included) and 2^n (excluded)

    Parameters

    • n: number

      Maximal number of bits of the generated bigint

    Returns Arbitrary<bigint>

    Please use $bigInt with fc.bigInt({ min: 0n, max: 2n**n-1n }) instead

    Since 1.9.0