diff --git a/cardano_clusterlib/query_group.py b/cardano_clusterlib/query_group.py index d96e04f..1dc44cb 100644 --- a/cardano_clusterlib/query_group.py +++ b/cardano_clusterlib/query_group.py @@ -714,5 +714,10 @@ def get_future_pparams(self) -> dict[str, tp.Any]: out: dict[str, tp.Any] = json.loads(self.query_cli(["future-pparams"])) or {} return out + def get_ratify_state(self) -> dict[str, tp.Any]: + """Get the current ratification state.""" + out: dict[str, tp.Any] = json.loads(self.query_cli(["ratify-state"])) + return out + def __repr__(self) -> str: return f"<{self.__class__.__name__}: clusterlib_obj={id(self._clusterlib_obj)}>"