dex_quote_exact_in
Provide a DEX quote for an exact input token amount, returning the optimal route and output.
Instructions
Quote the best route and output for an exact input amount
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": {
"token_in": "<token_in>",
"token_out": "<token_out>",
"amount_in": "<amount_in>"
},
"name": "dex_quote_exact_in"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| account | No | Signer account used to resolve its fee tier | |
| max_hops | No | ||
| token_in | Yes | ||
| amount_in | Yes | ||
| token_out | Yes |