orbs_prepare_swap_intent
Prepare a same-chain Orbs swap intent for external wallet signing. Returns required approvals, full quote, and EIP-712 typed data.
Instructions
Prepare a same-chain Orbs swap intent for external wallet signing. Returns required approvals, full quote, and EIP-712 typed data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | User wallet address | |
| 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 | |
| slippagePct | No | Slippage percentage (0.5 = 0.5%, default 0.5) |