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