Hyperliquid account state
hyperliquid_accountFetches a public Hyperliquid account's perps state: account value, margin used, withdrawable balance, open positions with entry, unrealized PnL, ROE, liquidation price, leverage, and open orders.
Instructions
Any Hyperliquid account's public perps state: account value, margin used, withdrawable, and each open position with size, entry, value, unrealized PnL, ROE, liquidation price and leverage. Plus open orders. Read from Hyperliquid /info.
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": "hyperliquid_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Hyperliquid account address (0x...). | |
| network | No | Hyperliquid network. | mainnet |