Swap failed
Fired when a wallet action fails after at least one transaction was broadcast. There may be onchain state changes; inspect the steps for details.
Body
Payload for the wallet_action.swap.failed webhook event.
The type of webhook event.
wallet_action.swap.failed The ID of the wallet action.
The ID of the wallet involved in the action.
Type of wallet action
swap, transfer, earn_deposit, earn_withdraw, earn_incentive_claim ISO 8601 timestamp of when the wallet action was created.
Chain identifier.
Token address being sold.
Token address being bought.
Amount of input token in base units. Populated after onchain confirmation.
The status of the wallet action.
failed A description of why a wallet action (or a step within a wallet action) failed.
The steps of the wallet action. Completed steps will have transaction hashes; the failing step will have a failure_reason.
A wallet action step consisting of an EVM transaction.
- EVMTransactionWalletActionStep
- EVMUserOperationWalletActionStep
- SVMTransactionWalletActionStep
- TVMTransactionWalletActionStep
- ExternalTransactionWalletActionStep
- CustodianTransactionWalletActionStep
ISO 8601 timestamp of when the wallet action failed.
Response
Return a 200 status to indicate that the webhook was received successfully.

