Skip to main content

How do I poll bridge status without hitting rate limits?

Poll bridge status no more than once every 10 seconds per API key. A faster loop returns HTTP 429. Use estimatedSeconds as an optional delay before the first poll.

J
Written by Javier Diaz

Poll bridge status no more than once every 10 seconds per API key (or per IP if unauthenticated). A faster loop returns HTTP 429. You can wait for bridgingEstimates[0].estimatedSeconds before the first poll, then keep the 10-second minimum between requests.

Definition

Bridge delivery is asynchronous, so the app must check status after the source transaction is submitted. The status APIs are separately rate-limited from a general Enso API quota, and the documented limit is one request every 10 seconds.

How it works

  • After you have the source txHash, call GET https://api.enso.build/api/v1/bridge/route with the source chainId and txHash.

  • Enforce a minimum 10-second interval between polls in your client, even if the user refreshes the screen.

  • On HTTP 429, back off and wait at least 10 seconds before the next request.

  • Stop polling when status is terminal (delivered, failed, or a documented manual-completion or refund state), or when you have shown a clear in-progress error.

  • For Solana destinations, the Solana routing docs tell you to poll every 30 seconds, because in-progress results can be cached for up to 30 seconds.

How Enso does this

Bridge Transaction Status applies the 10-second limit to all bridge status endpoints. Protocol-specific check endpoints exist as well; use the same cadence there. This article does not name those providers.

FAQ

Can I poll every second until the transfer arrives?

No. That will hit 429. Use a 10-second (or slower) interval.

Does this limit apply to Route quote requests too?

The 1-request-per-10-seconds rule is documented for bridge status endpoints. The main Route API has its own default rate limit.

Related articles

  • Why did bridge status return 429?

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

  • What is bridgingEstimates?

  • How do I track a cross-chain transaction after the user signs?

  • What do pending, inflight, delivered, failed, and unknown mean in bridge status?

Sources

Did this answer your question?