cancel_order
Cancel an open order on Algorand by providing the escrow app ID and order owner address to refund USDC, tokens, and ALGO collateral.
Instructions
Cancel an open order. Requires escrowAppId (from create_limit_order or get_open_orders) and orderOwner (the Algorand address that created it). Refunds USDC/tokens and ~0.957 ALGO collateral.
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": {
"marketAppId": "<marketAppId>",
"escrowAppId": "<escrowAppId>",
"orderOwner": "<orderOwner>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderOwner | Yes | The Algorand address that owns the order | |
| escrowAppId | Yes | The escrow app ID of the order to cancel | |
| marketAppId | Yes | The market app ID |