After the user signs, poll Enso’s bridge status APIs with the source chain ID and source transaction hash. Source confirmation is not destination delivery. Keep polling until status is terminal, then refresh balances.
Definition
Cross-chain delivery is asynchronous. The source-chain receipt only proves the first stage. Status APIs tell you whether the bridge is still in flight, has delivered, has failed, or needs a manual completion step.
How it works
Save the source chain ID and source transaction hash when the user submits.
Identify the bridge from the Route or Bundle response (the hop where the action is a bridge).
Poll the matching status endpoint no more than once every 10 seconds.
Map status for the UI:
pending,inflight,delivered,failed,ready_for_manual_execution, orunknown.When status is terminal, refresh balances on both chains and, if needed, show refund or manual-completion details.
How Enso does this
Use the protocol-specific endpoints documented in Bridge Transaction Status. All of them take chainId (source) and txHash. The status page also explains intent-route cases, where bridge delivery and keeper execution are not always the same moment, and where to read ensoDestinationEvent or refundDetails. Exceeding the 10-second poll interval returns 429.
FAQ
Can I use the same 10 RPS budget to poll status as fast as I want?
No. Bridge status endpoints are limited to 1 request per 10 seconds per API key (or per IP if unauthenticated).
What if the callback failed?
Destination actions revert on the destination chain only. Inspect status error and refund fields; the source bridge is not automatically undone.
Related articles
Why hasn’t my destination transfer arrived?
What happens if a cross-chain callback fails?
How do I add cross-chain swaps to my app?
Are cross-chain transactions atomic?
How do I let users deposit into yield from another chain?
