Skip to content

Exchange API: User role detection, automatic vault/subAccount enabling and support #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

itay747
Copy link
Contributor

@itay747 itay747 commented Feb 7, 2025

Feature Description
Automatic Vault/SubAccount Detection Added GetUserRole method to query hyperliquid account role. This means go-hyperliquid now supports subAccounts and vaults without any configuration needed (besides updating config.json)
Unified OrderResponse BulkOrders, MarketOrder, and LimitOrder responses now all use OrderResponse
Metadata Logic Improvements Adds spot/perp checks in OrderRequest and resulting decimal handling logic
Consistent Naming & Structs Standardizes assetID, baseURL naming convention.

@itay747 itay747 force-pushed the vaultSubaccountSupport branch 2 times, most recently from 4e9c0e7 to d26850a Compare February 13, 2025 21:20
@itay747 itay747 force-pushed the vaultSubaccountSupport branch from d26850a to 6b6c56f Compare February 13, 2025 21:23
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