arcade_multiswap
Aggregates multiple input tokens into one output token in a single settlement on Arc. Execute approvals per input then run the swap.
Instructions
Build a basket-converge swap (Arcade aggregator): many input tokens into one output token in a single settlement on Arc. inputs amounts are RAW token units. tokenOut accepts a symbol or 0x address. Run the returned calls[] in order (one approve per input, then swapToSingle).
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": {
"inputs": "<inputs>",
"tokenOut": "<tokenOut>"
},
"name": "arcade_multiswap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| tokenOut | Yes | ||
| minTotalOut | No |