Get trade quote
fuse_get_trade_quoteQuotes a token swap on Fuse — expected output amount, route, and price impact. Read-only: returns the quote without submitting a trade. Powered by the Fusebox SDK TradeModule.
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": {
"inputToken": "<inputToken>",
"outputToken": "<outputToken>",
"amount": "<amount>"
},
"name": "fuse_get_trade_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount, expressed as a decimal string in the token's base units (wei for 18-decimal tokens). | |
| exactIn | No | When true (default), `amount` is the sell amount. When false, `amount` is the desired buy amount. | |
| inputToken | Yes | Address of the token being sold. | |
| outputToken | Yes | Address of the token being bought. |