get_v4_swap_quote
Get a read-only swap price quote from Aave V4 with MEV protection via CoW Protocol. Returns pricing, fees, and slippage without API key.
Instructions
Get a read-only swap price quote from Aave V4 (powered by CoW Protocol with MEV protection). Returns pricing, fees, and slippage. No API key needed.
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": {
"sellTokenAddress": "<sellTokenAddress>",
"buyTokenAddress": "<buyTokenAddress>",
"sellAmount": "<sellAmount>",
"userAddress": "<userAddress>"
},
"name": "get_v4_swap_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | No | Chain ID | |
| sellAmount | Yes | Amount to sell (human-readable, e.g. '100.5') | |
| userAddress | Yes | User's wallet address | |
| buyTokenAddress | Yes | Token to buy (ERC-20 address) | |
| sellTokenAddress | Yes | Token to sell (ERC-20 address) |