Skip to main content

What is staking into an LST through a router?

Staking into a liquid staking token can be a Route destination: set the LST or related position as tokenOut and let the routing API find a supported path.

J
Written by Javier Diaz

Staking into a liquid staking token (LST) through a router means the destination of the route is the LST or a related tokenized position, and the routing API finds a supported path from the user’s starting asset.

Definition

An LST is a token that represents a staked position and can usually be held and transferred like other ERC-20s. When that destination is tokenized, a routing API can treat it as tokenOut instead of requiring a separate staking integration.

How it works

  • Discover the destination token with protocol or token data rather than hardcoding an issuer.

  • Request a Route from the user’s tokenIn to that LST or related position as tokenOut.

  • Show the quote’s amountOut, minimum output, and route path before the user signs.

  • If you need extra steps the Route API does not express, compose them with the Bundle API.

How Enso does this

The FAQ lists staking into LSTs among the DeFi operations Enso supports, along with swaps, deposits, lending, borrowing, and compositions of those actions. The Route API finds a path between two tokenized positions; confirm the current destination in token and protocol data. This article does not name specific LST issuers.

FAQ

Is LST staking always a Route call?

When the destination is a tokenized LST or related position, Route is the usual starting point. Use Bundle if you must specify extra actions yourself.

Should I hardcode the LST address?

No. Resolve it from the live token or protocol catalog for that chain.

Related articles

  • What is tokenIn and tokenOut?

  • How do I add a one-click zap into a vault?

  • What is a zap in DeFi?

  • 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?