Skip to main content

What is an async redeem?

An async redeem is a vault exit that files a withdrawal request now and pays tokenOut later. The Route response describes that payout in an async object, not in amountOut.

J
Written by Javier Diaz

An async redeem is a vault exit that cannot pay out in the same transaction. The transaction files a withdrawal request, the user receives a claim such as a receipt, and tokenOut arrives later when the vault settles.

Definition

Some vaults record a withdrawal and process it later. With allowAsync set to true, the Route API can file that request. The response uses an async object instead of a top-level amountOut when an async path is selected.

How it works

  • The user signs one source-chain transaction. On a same-chain route, the request is filed in that transaction. On a cross-chain route, it is filed in the destination delivery transaction.

  • The claim goes to receiver. When the vault processes the request, tokenOut is paid according to the async.settlement field — sometimes with no further user transaction.

  • Top-level amountOut, minAmountOut, and priceImpact are null on an async route. Use async.estimatedAmountOut and async.priceImpact.

  • allowAsync does not force an async path. Enso may still return an instant route. Always check for an async object.

How Enso does this

Async redeems are available on GET and POST https://api.enso.build/api/v1/shortcuts/route. They are not available on /quote or the Bundle API. minAmountOut and useIntentAddress: true are not supported and return HTTP 400. See Async redeems. Read the protocol-neutral async fields rather than hard-coding a specific vault.

FAQ

Does the transaction deliver tokenOut immediately?

No. It delivers a claim on the payout. tokenOut arrives when the vault settles the request.

Can I use Bundle for an async redeem?

No. The async-redeems guide says the flow is not available on the Bundle API.

Related articles

  • What is amountIn vs amountOut?

  • What is price impact?

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

  • How do I show a quote before the user signs?

  • What is destination-chain delivery?

Sources

Did this answer your question?