getPredictionOrderBook
Get full bid/ask depth for up to 20 prediction token IDs to assess price impact or show market depth to users.
Instructions
Query the full order book (bid/ask depth) for prediction outcome tokens. Returns all price levels with available quantity.
AI agent can use this to estimate price impact before placing a large order, or to display market depth information to users.
Maximum 20 tokenIds per request.
Agent hint: Use this to get the full order book depth for specific tokenIds. Useful for estimating price impact of a large order. For just the current best price, use getPredictionTokenPrice instead. Maximum 20 tokenIds per request.
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": {
"tokenIds": "<tokenIds>"
},
"name": "getPredictionOrderBook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIds | Yes |