From e3001c5aeda2b0c0a2db7cb2da42a01f11898932 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 12 Aug 2025 11:37:06 -0700 Subject: [PATCH] Version 0.18.0 Add support for noop action --- hyperliquid/exchange.py | 7 +++++++ pyproject.toml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/hyperliquid/exchange.py b/hyperliquid/exchange.py index 72f1a9bd..dba5da6b 100644 --- a/hyperliquid/exchange.py +++ b/hyperliquid/exchange.py @@ -1106,3 +1106,10 @@ def use_big_blocks(self, enable: bool) -> Any: signature, timestamp, ) + + def noop(self, nonce): + action = {"type": "noop"} + signature = sign_l1_action( + self.wallet, action, self.vault_address, nonce, self.expires_after, self.base_url == MAINNET_API_URL + ) + return self._post_action(action, signature, nonce) diff --git a/pyproject.toml b/pyproject.toml index dc54326e..60b38106 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "hyperliquid-python-sdk" -version = "0.17.0" +version = "0.18.0" description = "SDK for Hyperliquid API trading with Python." readme = "README.md" authors = ["Hyperliquid "]