getInflation method
Implementation
Future<double> getInflation() async {
var rootPath =
"${TerraClientConfiguration.blockchainResourcePath}${CosmosBaseConstants.COSMOS_MINT_INFLATION}";
var response = await apiRequester.getAsync<MintApiInflationArgs>(rootPath);
if (response.successful!) {
var result = MintApiInflationArgs.fromJson(response.result!);
return double.parse(result.inflation);
}
throw Exception("");
}