getMarketingParameters method
Implementation
Future<MarketingParamsValueApi> getMarketingParameters() async {
var rootPath =
"${TerraClientConfiguration.blockchainResourcePath}${CosmosBaseConstants.COSMOS_MARKET_PARAMS}";
var response = await apiRequester.getAsync<MarketingParamsApi>(rootPath);
if (response.successful!) {
var result = MarketingParamsApi.fromJson(response.result!);
return result.params;
}
throw Exception("");
}