export interface IGetGlobalResponse {
    active_cryptocurrencies: number;
    markets: number;
}

export interface IGetCoinsListRequest {
    page: number;
    per_page: number;
}

export interface IGetCoinsListResponse {
    [key: string]: any;
}

export interface IGetCoinsCountResponse {
    count: number;
}

export interface IGetCoinInfoResponse {
    [key: string]: any;
}

export interface IGetCoinInfoRequest {
    id: string;
}

// export interface IGetCoinChartRequest {
//     page: number;
//     per_page: number;
// }

export interface IChartDataItem {
    [index: number]: number,
}

export interface IGetCoinChartRequest {
    coin: string;
    days: string;
}

export interface IGetCoinChartResponse {
    market_caps: Array<IChartDataItem>;
    prices: Array<IChartDataItem>;
    total_volumes: Array<IChartDataItem>;
}
