userRole
Hyperliquid
userRole
Native Hyperliquid /info operation. Returns the user’s role (e.g. user, agent, sub-account, vault).
POST
userRole
Authorizations
API key to access the API (Optional)
Query Parameters
Unique identifier for a blockchain network.
Available options:
999, 998 Example:
999
Specify which provider to use. The project's provider priority list is used by default if no providers are selected. (Priority list can be managed on Uniblock's dashboard)
Available options:
Alchemy, Dwellir, Chainstack, Covalent Body
application/json
Response
200 - application/json
Successful response.
- Option 1
- Option 2
- Option 3
The account role. user, vault, and missing carry only role; agent and subAccount additionally carry a role-specific data block.
Available options:
missing, user, vault Example:
"user"