Treat source confirmation as in-progress, not complete. Show pending or inflight status, the estimated delivery time from the quote, and refresh until the route is delivered, failed, or reaches a refund or manual-completion state.
Definition
A cross-chain transfer has two stages the user can see: “submitted on the source chain” and “arrived (or refunded) on the destination chain.” A wallet that marks the transfer done on the first stage will be wrong whenever delivery is still async.
How it works
As soon as the source
txis submitted, save the source chain ID and transaction hash and put the transfer into an in-progress view.Show
bridgingEstimates.estimatedSecondsas an expected wait when you have it, clearly labeled as an estimate.Poll
GET /api/v1/bridge/routeno faster than once every 10 seconds and mappending,inflight,delivered,failed,unknown, andready_for_manual_executioninto user-visible copy.On an intent route, keep the transfer in progress while
/bridge/routeremainsinflightwithtraversalset toawaiting-execution, even if funds have reached the intent address.When
delivered, refresh destination balances. Whenfailedor refunded, show refund details and the refund recipient.
How Enso does this
See Bridge Transaction Status and Crosschain Routing. The user does not sign on the destination chain for the transfer itself. Leave a way to retry status or contact the Telegram developer chat if status stays unknown.
FAQ
Should I hide the transfer until it is delivered?
No. Show it as in progress so the user can see that funds have left the source wallet but have not yet arrived.
Can I use a spinner that polls every second?
No. Status endpoints are limited to one request per 10 seconds. A faster loop returns 429.
Related articles
How do I poll bridge status without hitting rate limits?
Do I need to sign a transaction on the destination chain?
Why is bridge status still inflight after the tokens arrived at the intent address?
What do pending, inflight, delivered, failed, and unknown mean in bridge status?
How long does a cross-chain Enso transfer take?
