Prepare TWAMM virtual-order execution
prepare_twamm_virtual_ordersPrepare the permissionless lockAndExecuteVirtualOrders maintenance call for a current or legacy TWAMM pool.
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>",
"pool_key": "<pool_key>"
},
"name": "prepare_twamm_virtual_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | address | |
| chain_id | Yes | EVM chain ID | |
| pool_key | Yes | PoolKey {token0, token1, config}: token addresses (zero = native), bytes32 config |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_plan_reference | No | artifact_reference; pass unchanged |