cmc-api
Version:
CoinMarketCap RESTful API Wrapper. Supports endpoints cryptocurrency, exchanges (CEX), decentralized exchange (DEX), global metrics, community content and trends, tools and others.
19 lines (18 loc) • 396 B
TypeScript
/**
* Fiat short options
*/
export type MiscFiatSort = "id" | "name";
/**
* A base currency to a specific quote currency.
*/
export type MiscPriceBase = {
id: number;
symbol?: never;
} | {
id?: never;
symbol: string;
};
/**
* A destination for converting a base currency to a specific quote currency.
*/
export type MiscPriceConvert = number | string | number[] | string[];