arcade_swap_finalize
Finalize a token swap by injecting the signed permit and signature to execute the transaction.
Instructions
Permit2 step 2: after signing the typedData from arcade_swap (Circle sign/typedData), inject the signature and get the execute() call. Pass the same swap params plus the echoed permit and the signature.
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": {
"tokenIn": "<tokenIn>",
"tokenOut": "<tokenOut>",
"amountIn": "<amountIn>",
"recipient": "<recipient>",
"signature": "<signature>"
},
"name": "arcade_swap_finalize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| permit | No | ||
| tokenIn | Yes | ||
| amountIn | Yes | ||
| tokenOut | Yes | ||
| recipient | Yes | ||
| signature | Yes | ||
| slippageBps | No |