hl_get_user_state
Retrieve your Hyperliquid account details: positions, equity, margin, and unrealized PnL. Check your account state to monitor trading performance.
Instructions
Get your Hyperliquid account: positions, equity, margin, unrealized PnL. Requires HL_WALLET_ADDRESS (read-only) or HL_PRIVATE_KEY (trading) in env.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |