orbs_place_twap
Place a time-weighted average price (TWAP) order on Spot protocol by splitting your amount into equal chunks executed at regular intervals.
Instructions
Place a TWAP (time-weighted average price) order via Spot protocol. Splits fromAmount into equal chunks executed at regular intervals. Write, confirmation-gated.
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": {
"fromToken": "<fromToken>",
"toToken": "<toToken>",
"fromAmount": "<fromAmount>",
"chunks": "<chunks>",
"fillDelay": "<fillDelay>"
},
"name": "orbs_place_twap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chunks | Yes | Number of chunks to split the order into | |
| chainId | No | Chain ID (defaults to runtime config) | |
| toToken | Yes | Destination token address | |
| fillDelay | Yes | Delay between chunk fills in seconds | |
| fromToken | Yes | Source token address | |
| fromAmount | Yes | Amount in smallest token units | |
| slippageBps | No | Slippage tolerance in BPS (default 500 = 5%) | |
| exactApproval | No | If true, approve only the exact amount needed instead of unlimited |