Constructors
constructor
Properties
[symbol]
"[symbol]": boolean
val
val: BigNumber
Methods
abs
add
div
mul
sub
toAttoFIL
Returns this
toBigInt
Returns bigint
toBytes
toBytes(): Uint8Array<ArrayBuffer> Returns Uint8Array<ArrayBuffer>
toFemtoFIL
toFIL
toFormat
Returns string
toMicroFIL
toMilliFIL
toNanoFIL
toPicoFIL
toString
toString(base?: number): string Returns string
Static
fromAttoFIL
Static
fromFemtoFIL
Static
fromFIL
Static
fromMicroFIL
Static
fromMilliFIL
Static
fromNanoFIL
Static
fromPicoFIL
Class to work with different Filecoin denominations.
See
https://docs.filecoin.io/basics/assets/the-fil-token/#denomonations