Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hyperliquid/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def meta(self, dex: str = "") -> Meta:
"""
return cast(Meta, self.post("/info", {"type": "meta", "dex": dex}))

def meta_and_asset_ctxs(self) -> Any:
def meta_and_asset_ctxs(self, dex: str = "") -> Any:
"""Retrieve exchange MetaAndAssetCtxs

POST /info
Expand Down Expand Up @@ -319,7 +319,7 @@ def meta_and_asset_ctxs(self) -> Any:
...
]
"""
return self.post("/info", {"type": "metaAndAssetCtxs"})
return self.post("/info", {"type": "metaAndAssetCtxs", "dex": dex})

def perp_dexs(self) -> Any:
return self.post("/info", {"type": "perpDexs"})
Expand Down