Skip to content

Commit f19056c

Browse files
authored
Version 0.18.0 (#193)
Add support for noop action
1 parent f3a25f6 commit f19056c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

hyperliquid/exchange.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,3 +1106,10 @@ def use_big_blocks(self, enable: bool) -> Any:
11061106
signature,
11071107
timestamp,
11081108
)
1109+
1110+
def noop(self, nonce):
1111+
action = {"type": "noop"}
1112+
signature = sign_l1_action(
1113+
self.wallet, action, self.vault_address, nonce, self.expires_after, self.base_url == MAINNET_API_URL
1114+
)
1115+
return self._post_action(action, signature, nonce)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
55

66
[tool.poetry]
77
name = "hyperliquid-python-sdk"
8-
version = "0.17.0"
8+
version = "0.18.0"
99
description = "SDK for Hyperliquid API trading with Python."
1010
readme = "README.md"
1111
authors = ["Hyperliquid <[email protected]>"]

0 commit comments

Comments
 (0)