Skip to content

refactor(api): align with the Hyperliquid API#154

Merged
nktkas merged 1 commit into
mainfrom
refactor/align-with-hyperliquid-api
Jun 19, 2026
Merged

refactor(api): align with the Hyperliquid API#154
nktkas merged 1 commit into
mainfrom
refactor/align-with-hyperliquid-api

Conversation

@nktkas

@nktkas nktkas commented Jun 19, 2026

Copy link
Copy Markdown
Owner

What & why

  • userFees: allow negative userAddRate and userSpotAddRate.
  • extraAgents: type validUntil as number | null.
  • recentTrades: label the users tuple as [buyer, seller].
  • userBorrowLendInterest: drop the incorrect @see link.
  • remove alignedQuoteTokenInfo.

Type of change

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

- `userFees`: allow negative `userAddRate` and `userSpotAddRate`.
- `extraAgents`: type `validUntil` as `number | null`.
- `recentTrades`: label the `users` tuple as `[buyer, seller]`.
- `userBorrowLendInterest`: drop the incorrect `@see` link.
- remove `alignedQuoteTokenInfo`.

---

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@nktkas nktkas changed the title refactor(api)!: align with the Hyperliquid API refactor(api): align with the Hyperliquid API Jun 19, 2026
@nktkas
nktkas merged commit ad2215e into main Jun 19, 2026
2 checks passed
@nktkas
nktkas deleted the refactor/align-with-hyperliquid-api branch June 19, 2026 01:15
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