fuse_smart_swap_tokens
ActiveTool of Fuse Network
declared in 0.1.0
Submits an ERC-4337 UserOperation executing a swap on Fuse via the Fusebox trade engine. Quote a swap first with `fuse_get_trade_quote` to preview the route.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"inputToken",
"outputToken",
"inputAmount"
],
"properties": {
"exactIn": {
"type": "boolean",
"description": "`true` (default) treats `inputAmount` as sell amount; `false` treats it as buy amount."
},
"inputToken": {
"type": "string",
"description": "Address of the token being sold."
},
"inputAmount": {
"type": "string",
"description": "Amount in base units (wei for 18-decimal tokens)."
},
"outputToken": {
"type": "string",
"description": "Address of the token being bought."
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
Fuse Network
1/7 registries