Skip to main content
The swap APIs return the following errors when a request cannot be fulfilled.

Validation errors

Routing errors

Execution errors

A swap that passes validation is accepted as a wallet action and executed asynchronously. The following conditions are not returned on the request — they surface as a rejected wallet action, before anything is submitted on-chain. Poll the wallet action or subscribe to the swap.rejected webhook to detect them.