TokenAmount
Responsible for formatting token amounts with specific decimal places. Derived from Fraction entity.
Example
Properties
token: Instance of Token entity represented by this instance of TokenAmount
Methods
raw
Returns the full token amount, unadjusted for decimals.
toSignificant
toFixed
toExact
add
subtract
Last updated