Skip to navigation

Get account role

Identify whether a Hyperliquid address is a master account, agent wallet, vault, or subaccount before signing or querying Predict trading state.

Request

This endpoint expects an object.
type"userRole"Required
userstringRequired
Master account or subaccount address. Do not use an agent wallet address for account reads.

Response

This endpoint returns any.