Interface ICurrencyInfo

ICurrencyInfo Interface representing information about a currency.

const currencyInfo: ICurrencyInfo = {
currency: "IRT",
name: "Toman",
tradable: true,
precision: "0"
};
interface ICurrencyInfo {
    currency: string;
    name: string;
    precision: `${number}`;
    tradable: boolean;
}

Properties

currency: string

The code of the currency.

name: string

The name of the currency.

precision: `${number}`

The precision of the currency.

tradable: boolean

Indicates if the currency is tradable.