- bn(value?, base?, endian?): BN
Parameters
Optional
value: null | BNInputOptional
base: number | "hex"Optional
endian: Endianness
Returns BN
Methods
parseUnits
- parseUnits(value, units?): BN
Parameters
- value: string
- units: number = DEFAULT_DECIMAL_UNITS
Returns BN