getQuote
Obtain swap quotes for ERC20 and ERC6909 tokens to calculate exchange rates and transaction details before executing trades on Ethereum.
Instructions
Get a quote for swapping ERC20 and ERC6909 tokens.
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>",
"amount": "<amount>",
"side": "<side>"
},
"name": "getQuote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIn | Yes | ||
| tokenOut | Yes | ||
| amount | Yes | ||
| side | Yes |