# L-1 Streaming Swaps

### Introduction

Streaming Swaps on Lends allow for more efficient and cost-effective trading by breaking down large swaps into smaller sub-swaps over time. This enables better price execution through reduced slippage.

Instead of a single immediate swap, Streaming Swaps work by:

1. Sending a single inbound transaction
2. Dividing the swap into several sub-swaps
3. Consolidating sub-swaps into one outbound transaction

{% embed url="<https://drive.google.com/file/d/161anqYB8A7lQip6PJS2pk7JZ0_UFZ3Jl/view?usp=sharing>" %}

### Benefits

* **Lower fees:** Spreading swaps over time allows arbitrageurs to rebalance, leading to lower slippage and better pricing
* **Price optimization:** Swaps are automatically divided enabling users to achieve optimal rates
* **Efficiency:** One inbound/outbound transaction instead of multiple for each sub-swap. Saves network capacities.

### How it Works

* Price Optimized is the only swap option on Lends
* Swap amount determines number of sub-swaps
* Sub-swaps evenly distributed over 24 hours
* Assets will be refunded if the minimum output price is not met for the first sub-swap

By taking a patient approach, Streaming Swaps unlock better pricing for users through automated optimization. This makes trading on Lends more efficient and cost-effective.


---

# 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.lends.so/products/l-1-streaming-swaps.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.
