Request outcome
check_outcomeWhat a write whose answer was lost did, read from the node only (never the explorer): an order by its client nonce, a cancel by its order id, or a cancel-all by the order ids open before it. One check of up to 20 seconds: applied, refused (with the chain's reason), still being checked, or still not known after 2 minutes. A write tool whose answer was lost names this call with its arguments. Ask: "Did my lost order go through?"
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": {
"kind": "<kind>"
},
"name": "check_outcome"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | which write: order, cancel or cancel_all | |
| agent | No | kind order, optional: the agent that signed it (its refusal records are read too) | |
| address | No | the account (default: the server's configured owner) | |
| pair_id | No | optional: the market the order or cancel-all was for | |
| order_id | No | kind cancel: the id of the order that was being cancelled | |
| since_ms | No | when it was sent (unix milliseconds): past 2 minutes, not proven reads as still not known | |
| order_ids | No | kind cancel_all: the order ids open before it was sent, as the write tool returned them | |
| client_nonce | No | kind order: the order's client nonce, as the write tool returned it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| next | No | ||
| read | No | ||
| text | No | ||
| state | No | pending_checking, applied, applied_other, refused or still_unknown | |
| resend | No | ||
| address | No | ||
| network | Yes | testnet or mainnet | |
| summary | Yes | one plain sentence | |
| follow_up | No | ||
| client_nonce | No | ||
| refusal_reason | No | ||
| refusal_meaning | No |