getParameters method
Implementation
Future<List<String>> getParameters() async {
String rootPath =
"${TerraClientConfiguration.blockchainResourcePath}${CosmosBaseConstants.COSMOS_IBC_CLIENT_PARAMS}";
var response = await apiRequester.getAsync<CommonIBCParamsJson>(rootPath);
if (response.successful!) {
var result = CommonIBCParamsJson.fromJson(response.result!);
return result.params.allowed_clients;
}
throw Exception("Could not successfully fetch the parameter information");
}