verify_order
Check an order's current status and receive a normalized receipt; detect status changes, log corrections, and optionally fetch settlement details for filled orders.
Instructions
Check current state of any order and return normalized OrderReceipt. If the order's status changed since last check (e.g., OPEN → FILLED), emits a correction event to the audit log. Use after place_and_verify to check if a GTC order has been filled, or to get settlement details. With include_settlement=true, fetches tx_hash from trade history for filled orders.
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": "verify_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order ID to verify (returned by place_order or place_and_verify) | |
| subaccount_id | No | Subaccount ID (defaults to configured) | |
| include_settlement | No | If true and order is filled, fetch settlement details (tx_status, tx_hash) from trade history. Adds one extra API call. |