Skip to main content

userRole Info Endpoint Method

Returns the role information for a specific user on the Hyperliquid platform.

Updated on
Oct 27, 2025

Parameters

type
string
REQUIRED

The method type to call

user
string
REQUIRED

User address to query role information for

Returns

role
string

The role type of the account.

Possible values:

  • user — Standard trading account with full trading capabilities
    Example: {"role": "user"}

  • agent — Agent account acting on behalf of another user
    Example: {"role": "agent", "data": {"user": "0x..."}}

  • vault — Vault account for collective asset management
    Example: {"role": "vault"}

  • subAccount — Sub-account linked to a master account
    Example: {"role": "subAccount", "data": {"master": "0x..."}}

  • missing — Unrecognized or non-existent account
    Example: {"role": "missing"}

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free