aerodrome_swap
Executes low-slippage token swaps directly via Aerodrome Finance Router on Base Mainnet ($0.01 USDC)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tokenIn": "<tokenIn>",
"tokenOut": "<tokenOut>",
"amountIn": "<amountIn>",
"decimalsIn": "<decimalsIn>",
"isStable": "<isStable>"
},
"name": "aerodrome_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIn | Yes | Input token contract address on Base | |
| amountIn | Yes | Amount of input token to swap in human units | |
| isStable | Yes | Whether swap route uses stable or volatile pool | |
| tokenOut | Yes | Output token contract address on Base | |
| decimalsIn | Yes | Input token decimal precision |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | Execution status | |
| quotedAmountOut | No | Received output token amount | |
| transactionHash | Yes | On-chain transaction hash on Basescan |