Hyperliquid Wallet
hl_walletOne Hyperliquid wallet, by view. summary: live equity, open positions, both cohort labels, the risk metrics of the window (win_rate is a FRACTION from 0 to 1; max_drawdown_pct and pnl_pct are percents, pnl_pct is null under $1 of equity), cumulative realized PnL since inception and lifetime deposits and withdrawals, all money in USD; equity.account_value is the wallet's whole value in the venue's unified and portfolio-margin modes (native perp account + builder accounts + USDC outside them, free spot tokens left out; those modes also read null on the drawdown fields), else the native perp account; equity.perp_account_value is always the native perp account and equity.account_mode is default, unifiedAccount, portfolioMargin or disabled; open_positions.perp_bias = (long - short) / equity.perp_account_value and equity_exposure = (long + short) / it, native perp account only: positions on the main dex over the native perp account value; builder-DEX positions are not included. Unbounded ratios, null with no main-dex position or no positive equity. trades_summary: closed round-trip trade statistics overall and per symbol, medians as well as means. An address we hold nothing for (summary) or that never traded (trades_summary) is an error, never a block of zeros. Find addresses with hl_leaderboard, hl_perp_top_traders or hl_position_match. Same data as GET /v1/hyperliquid/wallets/{address} and /wallets/{address}/trades/summary.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hl_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | What to read. `summary`: equity, open positions, cohort labels, risk metrics and lifetime flow. `trades_summary`: closed-trade statistics overall and per symbol. Default `summary`. | summary |
| window | No | Window of the risk metrics and trade statistics, by trade time: `1d`, `7d`, `30d` or `all`. | all |
| address | No | Hyperliquid wallet address: 0x followed by 40 hex characters, any case. Required. | |
| opened_within | No | Bounds the open-positions block ONLY (equity, lifetime and metrics are wallet-level totals with nothing per-position to filter): `24h`, `7d`, `30d` or `all`. Used by view: summary. | all |