One order
get_orderOne resting order by its id: market, side, price, size left. An order that is not resting now (it filled or was cancelled) is reported as gone. Ask: "What is the state of order 8840974?"
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": {
"order_id": "<order_id>"
},
"name": "get_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | the account (default: the server's configured owner) | |
| order_id | Yes | the chain's order id, as get_orders lists it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | No | ||
| order | No | ||
| address | No | ||
| network | Yes | testnet or mainnet | |
| summary | Yes | one plain sentence | |
| order_id | No |