Skip to main content

What is a stablecoin mint or redeem in a route?

A stablecoin mint or redeem in a route is a path whose destination or source is a tokenized mint or redeem position. Confirm that token with catalog data; do not hardcode issuers.

J
Written by Javier Diaz

A stablecoin mint or redeem in a route is a path that starts from, or ends in, a tokenized mint or redeem destination. The routing API treats that token as tokenIn or tokenOut and finds a supported path.

Definition

If minting or redeeming is represented as a tokenized position in the catalog, you do not need a separate issuer SDK for the basic conversion. You request a route between the user’s asset and that destination token.

How it works

  • Confirm the mint or redeem token with protocol and token data for the chain, rather than hardcoding an issuer.

  • Set that token as tokenOut to mint or enter the position, or as tokenIn to redeem or exit, depending on how the destination is represented.

  • Use Route when a single path is enough. Use Bundle if you need a fixed sequence or extra checks.

  • Some vault exits pay out later. If the response includes an async object, treat it as an async redeem, not an instant amountOut.

How Enso does this

The Route API calculates a path between two DeFi positions, including swaps, deposits, and redeems, when the path is supported. See DeFi and Swap Routing and Get Protocol Data. This article does not name stablecoin issuers.

FAQ

Can every stablecoin be minted through Enso?

Only when a supported path exists for that token and chain. Confirm the destination in live catalog data and handle a “could not build shortcuts” error as a missing path.

Is this the same as an async redeem?

Only when the exit is delayed and the response includes async. A ordinary redeem path delivers tokenOut in the transaction.

Related articles

  • What is an async redeem?

  • What is tokenIn and tokenOut?

  • What does “Could not build shortcuts for route” mean?

  • How do I discover tokens, vaults, and protocols from the API?

  • What types of DeFi operations does Enso support?

Sources

Did this answer your question?