fetch_order
Get a single Nexus Exchange order by ID to view status, fills, and remaining size. Requires API credentials; pass market_id for routing.
Instructions
Get a single order by its id (status, fills, remaining size). Pass market_id when known — the spec marks it required for routing, though the gateway currently resolves the order without it. Requires API credentials.
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": "fetch_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order id to look up. | |
| market_id | No | Market the order rests on (used for routing). Optional but recommended. |