A bridge callback is the destination action list that runs after a cross-chain bridge delivery. It is a later transaction on the destination chain, and it cannot revert a finalized source-chain transfer.
Definition
After tokens arrive on the destination chain, a callback can swap, deposit, or otherwise use the delivered balance in the same destination transaction. The callback is optional. When it is present, its actions succeed or revert together on the destination chain only.
How it works
The source-chain transaction includes the bridge and, when requested, encoded destination actions.
After delivery, those actions run in a destination-chain transaction.
Callback references are local to the callback list. Supported callbacks should start with a balance check on the delivered token, then later actions can consume that output.
If the callback fails, the source transfer is already final. Refund and recovery behavior depends on the selected bridge; track it with bridge status.
How Enso does this
Use a Bundle bridge action with a callback array. Start the callback with an enso balance action on the delivered token, then chain later amounts with useOutputOfCallAt. Route can run destination steps through an intent route by default on supported chains; use Bundle when you need a specific callback. Destination callbacks are not available when Solana is the destination. See Crosschain Routing.
FAQ
Does a failed callback undo the source-chain bridge?
No. Destination-callback failure cannot revert a finalized source transaction. Monitor bridge status for refund or recovery details.
Why must the callback start with a balance action?
Enso’s cross-chain docs require a balance check as the first callback action so later steps can reference the delivered amount.
Related articles
What happens if a cross-chain callback fails?
How do I attach destination actions after a bridge?
Are cross-chain transactions atomic?
What is destination-chain delivery?
How do I add a cross-chain deposit, not just a swap?
