Skip to content

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

Draft
itay747 wants to merge 1 commit into
Logarithm-Labs:mainfrom
itay747:vaultSubaccountSupport
Draft

Exchange API: User role detection, automatic vault/subAccount enabling and support#21
itay747 wants to merge 1 commit into
Logarithm-Labs:mainfrom
itay747:vaultSubaccountSupport

Conversation

@itay747

@itay747 itay747 commented Feb 7, 2025

Copy link
Copy Markdown
Contributor
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
@hail100

hail100 commented Dec 5, 2025

Copy link
Copy Markdown

@0xBoringWozniak @itay747 This PR is very important, could you please handle it?

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.

2 participants