• Converts an amount of CCD to micro CCD and asserts that the amount is a valid amount of CCD.

    Returns

    The amount of micro CCD as a Big

    Throws

    If a number is passed with several decimal seperators

    Throws

    If a negative amount of micro CCD is passed

    Throws

    If the micro CCD passed is greater than what can be contained in a 64-bit integer

    Parameters

    • ccd: bigint | BigSource

      The amount of CCD as a number, string, big or bigint.

    Returns Big

Generated using TypeDoc