akka_get_swap
Generate an unsigned swap transaction via AKKA DEX aggregator. Returns transaction data (to, data, value, gas) for signing and broadcasting.
Instructions
Generate a ready-to-sign swap transaction via AKKA DEX aggregator. Returns complete unsigned transaction data (to, data, value, gas) that the user must sign and broadcast. IMPORTANT: This does NOT execute the swap — it only builds the transaction. Use akka_get_quote first to check the expected output amount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | Yes | Chain ID (999=HyperEVM, 1=Ethereum, 8453=Base, 42161=Arbitrum, 56=BNB Chain) | |
| src | Yes | Source token address (0xeee...eee for native token) | |
| dst | Yes | Destination token address | |
| amount | Yes | Amount in wei | |
| from | Yes | Wallet address that will execute the swap | |
| slippage | No | Slippage tolerance as percentage (0-50, default 1) | |
| includeTokensInfo | No | Include token info in response | |
| includeGas | No | Include gas estimate |