Get indicative trade price
fuse_trade_indicative_priceReturns an indicative price + route for a swap on Fuse (0x-style response). One of sellAmount / buyAmount must be provided.
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": {
"sellToken": "<sellToken>",
"buyToken": "<buyToken>"
},
"name": "fuse_trade_indicative_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyToken | Yes | ERC-20 contract address of the token to buy. | |
| gasPrice | No | Gas price override in wei. | |
| buyAmount | No | Desired buy amount in base units (mutually exclusive with `sellAmount`). | |
| sellToken | Yes | ERC-20 contract address of the token to sell. | |
| sellAmount | No | Sell amount in base units (mutually exclusive with `buyAmount`). | |
| feeRecipient | No | ||
| takerAddress | No | Address of the trader (for validation). | |
| skipValidation | No | ||
| excludedSources | No | Comma-separated liquidity sources to exclude. | |
| includedSources | No | Comma-separated liquidity sources to include. | |
| slippagePercentage | No | Max slippage as a decimal string (e.g. `0.01` = 1%). | |
| buyTokenPercentageFee | No | ||
| enableSlippageProtection | No | ||
| feeRecipientTradeSurplus | No | ||
| priceImpactProtectionPercentage | No |