Prepare stopping a TWAMM order
prepare_twamm_order_stopPrepare the interface's complete stop flow: collect every selected order and decrease every still-active sale rate in one atomic batch of decodable steps.
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": {
"chain_id": "<chain_id>",
"sender": "<sender>",
"orders_address": "<orders_address>",
"token_id": "<token_id>",
"pending_timestamp": "<pending_timestamp>",
"orders": "<orders>"
},
"name": "prepare_twamm_order_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orders | Yes | ||
| sender | Yes | address | |
| chain_id | Yes | EVM chain ID | |
| token_id | Yes | decimal or 0x-hex integer | |
| orders_address | Yes | address | |
| pending_timestamp | Yes | decimal integer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_plan_reference | No | artifact_reference; pass unchanged |