Get order book
get_orderbookFetch live on-chain order book for futures and perpetual contracts. Provide expiration for futures to view current bids and asks.
Instructions
On-chain CLOB prices. For futures, expirationAt (unix seconds) is required. Perps is a single perpetual book.
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": {
"venue": "<venue>"
},
"name": "get_orderbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venue | Yes | ||
| maxLevels | No | ||
| expirationAt | No | Futures expiration unix seconds, integer string |