Skip to content

fix: spot_meta_and_asset_ctxs doesn't inject dex into the payload#265

Open
KyaClaw wants to merge 1 commit intohyperliquid-dex:masterfrom
kyaky:fix/issue-257
Open

fix: spot_meta_and_asset_ctxs doesn't inject dex into the payload#265
KyaClaw wants to merge 1 commit intohyperliquid-dex:masterfrom
kyaky:fix/issue-257

Conversation

@KyaClaw
Copy link

@KyaClaw KyaClaw commented Mar 2, 2026

Summary

Adds missing dex parameter to spot_meta_and_asset_ctxs method, aligning it with other info methods that support DEX-specific queries.

Changes

  • Added optional dex: str = "" parameter to spot_meta_and_asset_ctxs method.
  • Included "dex": dex in the payload sent to the /info endpoint.

Testing

  • Existing test suite passes (where network requests are mocked).
  • No breaking changes; default behavior unchanged (empty string DEX).

Fixes #257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant