# User Flow

StakeEase simplifies the multi-step restaking process into a clear and intuitive user experience. Here's how it works:

<figure><img src="/files/wuJCxfbkFV8AZAudxfGL" alt=""><figcaption></figcaption></figure>

**Step 1)** Users access the StakeEase UI to engage in ETH (re)staking. They input the source chain, as well as the asset and amount they wish to stake, and select their preferred staking/restaking platform.

**Step 2)** The UI invokes the path discovery algorithm with the user's inputs.

**Step 3)** Based on the user's source asset and desired output, the path discovery algorithm identifies the most optimal route for executing the user's request. The pathfinder generates the execution calldata and sends it to the UI along with the entry point adapter.

{% hint style="info" %}
In the case of cross-chain (re)staking, the Nitro contract will act as the entry point, while in the case of same-chain (re)staking, the Multicall adapter will act as the entry point.
{% endhint %}

**Step 4)** The UI triggers the entry point contract with the calldata provided by the path discovery algorithm.&#x20;

**Step 5)** Following the transaction execution, users receive their desired Liquid Restaking Token (LRT) in their L2/mainnet wallet depending on their preference.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stakeease.com/aggregator/technical/user-flow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
