orbs_place_limit
Place a Spot protocol limit order that executes only when the output reaches your minimum amount. Confirmation-gated write for safety.
Instructions
Place a limit order via Spot protocol. Executes only when output meets minimum amount. Write, confirmation-gated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expiry | No | Order expiry in seconds from now (default 86400 = 24h) | |
| chainId | No | Chain ID (defaults to runtime config) | |
| toToken | Yes | Destination token address | |
| fromToken | Yes | Source token address | |
| fromAmount | Yes | Amount in smallest token units | |
| slippageBps | No | Slippage tolerance in BPS (default 500 = 5%) | |
| toMinAmount | Yes | Minimum output amount in smallest token units | |
| exactApproval | No | If true, approve only the exact amount needed instead of unlimited |