Constructors
constructor
-
Parameters
Properties
Readonly amount
amount: number
Readonly symbol
Methods
add
-
Parameters
-
amount: Asset | string | number
divide
-
Parameters
-
divisor: Asset | string | number
getPrecision
-
Returns number
multiply
-
Parameters
-
factor: Asset | string | number
subtract
-
Parameters
-
amount: Asset | string | number
symbols
-
toJSON
-
Returns string
toString
-
Returns string
Static from
-
Parameters
-
value: string | Asset | number
-
Static fromString
-
Parameters
Static max
-
Parameters
Static min
-
Parameters
Class representing a blurt asset, e.g.
1.000 BLURT
or12.112233 VESTS
.