getCandlesMonths method

Future<List<CandleMonth>> getCandlesMonths({
  1. String market = 'KRW-BTC',
  2. String? to,
  3. int? count,
})

Implementation

Future<List<CandleMonth>> getCandlesMonths({String market = 'KRW-BTC', String? to, int? count}) async {
  return (await super.call<List>(APIMethod.GET, 'candles/months', data: {
    'market': market,
    'to': to,
    'count': count,
  })).map((e) => CandleMonth.fromMap(e)).toList();
}