2026-07-05 · Hyperliquid · 8 条相关讨论
Can an agent create a subaccount?
Can an agent create a subaccount?
Also, how are subaccounts linked to master accounts, is there any on-chain verification?
Also, how are subaccounts linked to master accounts, is there any on-chain verification?
If you send a `userRole` info request with the subaccount address, the master account it belongs to will be returned like `{ "role": "subAccount", "data": { "master": "0x1234...abcd" } }`
If you send a `userRole` info request with the subaccount address, the master account it belongs to will be returned like `{ "role": "subAccount", "data": { "master": "0x1234...abcd" } }`
You could also send a `subAccounts2` request with the master address and all the subaccounts will be listed.
You could also send a `subAccounts2` request with the master address and all the subaccounts will be listed.
Yes it can
Yes it can
I want my contract to link them, like a registry because there is no precompile to get subaccounts. But what I can't have is somebody registering an incorrect address to a master.
I want my contract to link them, like a registry because there is no precompile to get subaccounts. But what I can't have is somebody registering an incorrect address to a master.
ie. I want to count the NAV of master + subaccounts. That's not currently possible on chain right?
ie. I want to count the NAV of master + subaccounts. That's not currently possible on chain right?
Are any more precompiles being worked on? A masterOf(address) for subaccounts would be delightful
Are any more precompiles being worked on? A masterOf(address) for subaccounts would be delightful