Hyperliquid wallet positions and liquidation risk: perps, leverage, liquidation distance, margin ratio, open orders, 24h fills
hl_walletUse when an agent checks a Hyperliquid account: its own risk, a whale or a copy-trade target. Input: address (0x...), optional orders (0-50). Output: JSON account value, positions with leverage, PnL, liquidation price and distance, cross margin ratio, riskLevel, net exposure, spot balances, open orders, last-24h fills and realized PnL. Cached 10 s. Example: ?address=0x5b5d51203a0f9079f8aeb098a6523a13f298c060 Price: $0.005 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "hl_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orders | No | Largest open orders to list (0-50, default 10); the count and total are always returned | |
| address | Yes | Hyperliquid account (EVM) address. Malformed: 400 before payment (not charged) |