Get account positions & margin
hl_get_accountGet a perpetual account snapshot for any EVM address: equity, margin usage, withdrawable funds, and open positions with entry price, unrealized PnL, leverage, and liquidation price.
Instructions
Perp account snapshot for any address: equity, margin usage, withdrawable, and open positions (size, entry, uPnL, leverage, liquidation price). Read-only; works for any public 0x address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | EVM 0x address (42 hex chars). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| positions | Yes | ||
| totalNtlPos | Yes | ||
| accountValue | Yes | ||
| withdrawable | Yes | ||
| totalMarginUsed | Yes | ||
| marginUtilization | Yes |