fuse_trade_indicative_price
ActiveTool of Fuse Network
declared in 0.1.0
Returns an indicative price + route for a swap on Fuse (0x-style response). One of `sellAmount` / `buyAmount` must be provided.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sellToken",
"buyToken"
],
"properties": {
"buyToken": {
"type": "string",
"description": "ERC-20 contract address of the token to buy."
},
"gasPrice": {
"type": "string",
"description": "Gas price override in wei."
},
"buyAmount": {
"type": "string",
"description": "Desired buy amount in base units (mutually exclusive with `sellAmount`)."
},
"sellToken": {
"type": "string",
"description": "ERC-20 contract address of the token to sell."
},
"sellAmount": {
"type": "string",
"description": "Sell amount in base units (mutually exclusive with `buyAmount`)."
},
"feeRecipient": {
"type": "string"
},
"takerAddress": {
"type": "string",
"description": "Address of the trader (for validation)."
},
"skipValidation": {
"type": "boolean"
},
"excludedSources": {
"type": "string",
"description": "Comma-separated liquidity sources to exclude."
},
"includedSources": {
"type": "string",
"description": "Comma-separated liquidity sources to include."
},
"slippagePercentage": {
"type": "string",
"description": "Max slippage as a decimal string (e.g. `0.01` = 1%)."
},
"buyTokenPercentageFee": {
"type": "string"
},
"enableSlippageProtection": {
"type": "boolean"
},
"feeRecipientTradeSurplus": {
"type": "string"
},
"priceImpactProtectionPercentage": {
"type": "string"
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Fuse Network
1/7 registries