info
endpoint with type: "userRole"
retrieves the role and account type information for a specific user on the Hyperliquid network. This endpoint is essential for understanding the account structure, permissions, and relationships within the Hyperliquid ecosystem.
type
(string, required) — The request type. Must be "userRole"
to retrieve user role information.user
(string, required) — User address in 42-character hexadecimal format (e.g., 0x31ca8395cf837de08b24da3f660e77761dfb974b
).role
field, with additional data
for certain role types:
info
endpoint with type: "userRole"
is essential for applications that need to:
User's role information and associated data
Regular user role