get_outcome_book
Get the L2 order book for a specific outcome side in Hyperliquid HIP-4 prediction markets. See bids, asks, spread, and depth summary to evaluate market liquidity.
Instructions
Get the L2 orderbook for a specific outcome side. Returns bids, asks, spread, and depth summary.
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": {
"outcomeId": "<outcomeId>",
"side": "<side>"
},
"name": "get_outcome_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Side: 0 or "yes" for first outcome, 1 or "no" for second | |
| network | No | testnet | |
| outcomeId | Yes | Outcome ID from list_outcomes |