cancel_dca_order
Cancel an active DCA order and return remaining assets to the owner. Provides an unsigned transaction CBOR for wallet signing.
Instructions
Cancel an active DCA order. Remaining assets are returned to the owner. Returns an unsigned transaction CBOR to be signed by the wallet.
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": {
"walletAddress": "<walletAddress>",
"orderId": "<orderId>"
},
"name": "cancel_dca_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | DCA order ID in format '{txHash}#{outputIndex}' | |
| walletAddress | Yes | Cardano wallet address (bech32 format, starts with 'addr1') |