A class for storing an API amount. This can be used for either fiats or cryptocurrencies.

Hierarchy

  • Amount

Constructors

Properties

client: undefined | TipccClient

The client that instantiated this

currencyCode: string

The currency code

valueRaw: BigNumber

The raw API BigNumber

Accessors

Methods

  • Parameters

    • includeUsd: boolean = true

    Returns null | string