execute_swap
Validates a signed token-swap request after a fresh successful simulation and returns transaction calldata for agent submission without broadcasting it.
Instructions
[Capability: available_with_tier_gate; tier: scout_quote_signature_and_simulation_gated; API: /api/agents/swap; authority: /api/v1/agent/status] Compatibility route: validate a signed token-swap request after a fresh successful simulation and return transaction calldata. FarmDash does not broadcast the returned transaction. Generic execute_approved_intent remains unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | ||
| toToken | Yes | ERC-20 token contract address deployed on the corresponding chain. Do not pass a wallet/EOA; the token address and chain ID must match. | |
| intentId | No | ||
| protocol | No | ||
| slippage | No | ||
| fromToken | Yes | ERC-20 token contract address deployed on the corresponding chain. Do not pass a wallet/EOA; the token address and chain ID must match. | |
| signature | Yes | ||
| toAddress | Yes | ||
| toChainId | Yes | ||
| fromAmount | Yes | ||
| fromChainId | Yes | ||
| agentAddress | Yes | ||
| simulationId | Yes |