type Market: {
baseAsset: string;
baseAssetContract: string;
basePrecision: number;
chainId: number;
createdAt: Date;
id: string;
quoteAsset: string;
quoteAssetContract: string;
quotePrecision: number;
state: MarketStatus;
symbol: string;
updatedAt: Date;
};
Represents a market with its properties.
Type declaration
Member | Type | Description |
---|---|---|
baseAsset | string | The symbol of the base asset. |
baseAssetContract | string | The contract address of the base asset in the market. |
basePrecision | number | The number of decimal places for the base asset. |
chainId | number | The chain ID on which the market exists. |
createdAt | Date | The timestamp when the market was created. |
id | string | The unique identifier for the market. |
quoteAsset | string | The symbol of the quote asset. |
quoteAssetContract | string | The contract address of the quote asset in the market. |
quotePrecision | number | The number of decimal places for the quote asset. |
state | MarketStatus | The status of the market (e.g., open, closed). |
symbol | string | The symbol representing the market. |
updatedAt | Date | The timestamp when the market was last updated. |