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.
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 |