swap.multi
ActiveTool of Syenite
Fetches up to 10 swap or bridge quotes in a single batched call, executing all route lookups in parallel and returning each result alongside a total cost summary. Use this when splitting funds across multiple chains, executing multi-leg portfolio rebalancing, or comparing routes side-by-side without making sequential calls. Each element in the requests array accepts the same parameters as swap.quote (fromToken, toToken, fromAmount, fromAddress, fromChain, toChain, slippage, order). Returns per-request results with status ok or error (failed quotes do not abort the batch), plus aggregate gas and fee totals. Quotes are valid for approximately 30 seconds; sign and submit transactions sequentially to avoid nonce conflicts. Maximum 10 requests per call.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"requests"
],
"properties": {
"requests": {
"type": "array",
"items": {
"type": "object",
"required": [
"fromToken",
"toToken",
"fromAmount",
"fromAddress"
],
"properties": {
"order": {
"enum": [
"CHEAPEST",
"FASTEST"
],
"type": "string",
"description": "Route preference: CHEAPEST (best price) or FASTEST (lowest execution time)"
},
"toChain": {
"type": "string",
"description": "Destination chain"
},
"toToken": {
"type": "string",
"description": "Token to buy — symbol or address"
},
"slippage": {
"type": "number",
"description": "Max slippage as decimal (0.005 = 0.5%). Defaults to 0.5%."
},
"fromChain": {
"type": "string",
"default": "ethereum",
"description": "Source chain"
},
"fromToken": {
"type": "string",
"description": "Token to sell — symbol or address"
},
"toAddress": {
"type": "string",
"description": "Recipient address"
},
"fromAmount": {
"type": "string",
"description": "Amount in smallest unit"
},
"fromAddress": {
"type": "string",
"description": "Sender wallet address"
}
}
},
"maxItems": 10,
"minItems": 1,
"description": "Array of swap/bridge requests to quote in parallel"
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
Syenite
https://github.com/syenite-ai/syenite
1/7 registries