getGasPrices method

Future<DenomGasPrices> getGasPrices()

Implementation

Future<DenomGasPrices> getGasPrices() async {
  var response = await apiRequester
      .getAsync<DenomGasPrices>(CosmosBaseConstants.GAS_PRICES);
  if (response.successful!) {
    return DenomGasPrices.fromJson(response.result!);
  }

  throw Exception("");
}