Actions61
- Activity Actions
- Asset Actions
- Custom Query Actions
- Hub Actions
- Lending Actions
- Market Data Actions
- Position Management Actions
- Position Swap Actions
- Protocol Actions
- Reserve Actions
- Spoke Actions
- Swap Actions
- User Position Actions
Swap → Prepare Swap Cancel
AI-generatedSummary
Cancels a prepared Aave V4 swap by its swap ID.
Inputs
- chainId — Choose from the list, or specify an ID using an expression
- cancelSwapId (required) — The ID of the swap to cancel
Output shape
a confirmation of cancellation (no payload returned on success)
Returns an empty response body; success is indicated by HTTP 200, errors propagate as standard HTTP errors.
Examples
Example 1: Cancel a specific swap on Ethereum mainnet
chainId: "mainnet", cancelSwapId: "swap_abc123"