swap_aggregate
Calculate optimal split routes and estimated output amount for a token pair across Cardano DEXes.
Instructions
Get aggregated swap data for a token pair across Cardano DEXes. Returns optimal split routes and estimated output amount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIn | Yes | Input token identifier. Use 'lovelace' for ADA, or 'policyId.assetNameHex' format for native tokens | |
| slippage | Yes | Slippage tolerance percentage (e.g., 0.5 for 0.5%) | |
| tokenOut | Yes | Output token details | |
| tokenInAmount | Yes | Amount of input token to swap (in smallest unit) | |
| blacklisted_dexes | No | List of DEX names to exclude from routing (e.g., ['Minswap', 'SundaeSwap']) |