We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9054c54 + 618a26b commit 3be650fCopy full SHA for 3be650f
cardano_clusterlib/query_group.py
@@ -709,5 +709,10 @@ def get_treasury(self) -> int:
709
"""Get the treasury value."""
710
return int(self.query_cli(["treasury"]))
711
712
+ def get_future_pparams(self) -> dict[str, tp.Any]:
713
+ """Get the future protocol parameters that will apply at the next epoch."""
714
+ out: dict[str, tp.Any] = json.loads(self.query_cli(["future-pparams"])) or {}
715
+ return out
716
+
717
def __repr__(self) -> str:
718
return f"<{self.__class__.__name__}: clusterlib_obj={id(self._clusterlib_obj)}>"
0 commit comments