> For the complete documentation index, see [llms.txt](https://docs.lends.so/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lends.so/products/l-1-streaming-swaps.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.lends.so/products/l-1-streaming-swaps.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
