get_perp_clearinghouse_state
Fetch the clearinghouse state for a Hyperliquid user to view positions, margin, and account details. Defaults to your connected wallet when no user is provided.
Instructions
Get the clearinghouse state of a user on Hyperliquid, if no user is provided, the clearinghouse state of the wallet address will be returned
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": "get_perp_clearinghouse_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | Get the clearinghouse state of a user on Hyperliquid |