Skip to content

refactor(api): align response types with the Hyperliquid API#151

Merged
nktkas merged 1 commit into
mainfrom
refactor/api-response-types
Jun 17, 2026
Merged

refactor(api): align response types with the Hyperliquid API#151
nktkas merged 1 commit into
mainfrom
refactor/api-response-types

Conversation

@nktkas

@nktkas nktkas commented Jun 17, 2026

Copy link
Copy Markdown
Owner
  • outcomeMetaUpdates: add settledNamedOutcomes to the questionUpdated event.
  • userEvents: add time to the funding event.
  • spotMeta: type universe[].tokens as a [baseToken, quoteToken] tuple.
  • meta: deprecate universe[].onlyIsolated in favor of marginMode.

Type of change

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

- `outcomeMetaUpdates`: add `settledNamedOutcomes` to the `questionUpdated` event.
- `userEvents`: add `time` to the funding event.
- `spotMeta`: type `universe[].tokens` as a `[baseToken, quoteToken]` tuple.
- `meta`: deprecate `universe[].onlyIsolated` in favor of `marginMode`.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@nktkas
nktkas merged commit 89b05af into main Jun 17, 2026
2 checks passed
@nktkas
nktkas deleted the refactor/api-response-types branch June 17, 2026 23:22
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