Skip to main content

How should a wallet show a cross-chain transfer that is still in progress?

Treat source confirmation as in-progress, not complete. Show pending or inflight status, the estimated delivery time, and refresh until delivered, failed, or a refund or manual-completion state.

J
Written by Javier Diaz

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 tx is submitted, save the source chain ID and transaction hash and put the transfer into an in-progress view.

  • Show bridgingEstimates.estimatedSeconds as an expected wait when you have it, clearly labeled as an estimate.

  • Poll GET /api/v1/bridge/route no faster than once every 10 seconds and map pending, inflight, delivered, failed, unknown, and ready_for_manual_execution into user-visible copy.

  • On an intent route, keep the transfer in progress while /bridge/route remains inflight with traversal set to awaiting-execution, even if funds have reached the intent address.

  • When delivered, refresh destination balances. When failed or 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?

Sources

Did this answer your question?