Skip to content

refactor(api): align request schemas with the Hyperliquid API#159

Merged
nktkas merged 1 commit into
mainfrom
refactor/align-request-schemas
Jun 22, 2026
Merged

refactor(api): align request schemas with the Hyperliquid API#159
nktkas merged 1 commit into
mainfrom
refactor/align-request-schemas

Conversation

@nktkas

@nktkas nktkas commented Jun 22, 2026

Copy link
Copy Markdown
Owner

What & why

  • perpDeploy: add the insertMarginTable action.
  • usdClassTransfer: support the subaccount:<address> suffix on amount.
  • spotClearinghouseState: remove the dex field.
  • userTwapSliceFillsByTime: remove the aggregateByTime field.

Type of change

  • Bug fix
  • New API method / feature
  • Schema/type update to match the Hyperliquid API
  • Breaking change

- `perpDeploy`: add the `insertMarginTable` action.
- `usdClassTransfer`: support the `subaccount:<address>` suffix on `amount`.
- `spotClearinghouseState`: remove the `dex` field.
- `userTwapSliceFillsByTime`: remove the `aggregateByTime` field.

---

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@nktkas
nktkas merged commit 92ac969 into main Jun 22, 2026
2 checks passed
@nktkas
nktkas deleted the refactor/align-request-schemas branch June 22, 2026 20:08
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