getTallyParams method
Implementation
Future<ProposalsTallyParams> getTallyParams() async {
String root =
"${TerraClientConfiguration.blockchainResourcePath}${CosmosBaseConstants.COSMOS_GOV_PARAMS_TALLYING}";
var response = await apiRequester.getAsync<ProposalsParams>(root);
if (response.successful!) {
var results = ProposalsParams.fromJson(response.result!);
return ProposalsTallyParams.fromJSON(results.tally_params);
}
throw Exception("");
}