Skip to main content

What happens if I submit a cross-chain route after validUntil?

On an intent route, a transaction submitted after validUntil can still bridge, then refund on the destination chain instead of running the destination route.

J
Written by Javier Diaz

On an intent route, a transaction submitted after validUntil can still bridge, then refund on the destination chain instead of running the destination route. Treat validUntil as the eligibility window for destination execution, not as a hard stop on the source-chain submit.

Definition

validUntil on an intent-route quote is capped at the intent deadline minus the bridge delivery estimate and a two-minute buffer, and that cap never sets it earlier than 60 seconds after the quote. After that time, the source transaction may still be sent, but the keeper will not complete the destination route as quoted.

How it works

  • Show validUntil on the review screen and request a fresh Route quote if it is too close.

  • If the user still submits after validUntil, the assets can bridge. The destination outcome is a refund of the bridged token, not the quoted tokenOut path.

  • The refund goes to refundReceiver, or to receiver when refundReceiver is not set.

  • Track the route with GET /api/v1/bridge/route. Status is failed once the bridged token is refunded, and inflight with traversal set to awaiting-execution until the keeper finishes or the refund happens.

  • This validUntil behavior is documented for intent routes. It is not the same as Enso Quoter’s five-minute simulationId cache.

How Enso does this

See Crosschain Routing. Pathway-specific intent deadlines vary; this article does not list provider names or their minute figures. Always refresh the quote rather than submitting a stale intent route.

FAQ

Should I block signing after validUntil?

Yes. Request a new quote and ask the user to review it. Submitting the stale tx can still move funds and then refund.

Where do I look for the refund?

Check refundReceiver or receiver, metadata.bridgeRefundAssets on the quote, and status refund fields after submission.

Related articles

  • What is an intent route in Enso?

  • Why was my bridged token refunded on the destination chain?

  • What if my quote expired?

  • How do I set refundReceiver on a cross-chain route?

  • What is bridgeRefundAssets?

Sources

Did this answer your question?