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
StaticfromAttoFIL
StaticfromFemtoFIL
StaticfromFIL
StaticfromMicroFIL
StaticfromMilliFIL
StaticfromNanoFIL
StaticfromPicoFIL
Class to work with different Filecoin denominations.
See
https://docs.filecoin.io/basics/assets/the-fil-token/#denomonations