Constructs a CcdAmount and checks that it is valid. It accepts a number, string, big, or bigint as parameter.
It can accept a string as parameter with either a comma or a dot as the decimal separator.
Throws
If an invalid micro CCD amount is passed, i.e. any value which is not an unsigned 64-bit integer
Parameters
microCcdAmount: bigint | BigSource
The amount of micro CCD as a number, string, big, or bigint.
Constructs a CcdAmount and checks that it is valid. It accepts a number, string, big, or bigint as parameter. It can accept a string as parameter with either a comma or a dot as the decimal separator.
Throws
If an invalid micro CCD amount is passed, i.e. any value which is not an unsigned 64-bit integer