> For the complete documentation index, see [llms.txt](https://docs.stackingdao.com/stackingdao/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackingdao.com/stackingdao/core-contracts/swap-ststx-less-than-greater-than-ststxbtc.md).

# Swap stSTX <> stSTXbtc

With our swap contract, users can seamlessly exchange between the two LSTs offered by StackingDAO. Swaps are always executed at a **1:1 ratio**, since both tokens are backed by the same underlying STX reserve managed by StackingDAO.

The contract can be found here: <https://explorer.hiro.so/txid/SP4SZE494VC2YC5JYG7AYFQ44F5Q4PYV7DVMDPBG.swap-ststx-ststxbtc-v2?chain=mainnet>

**Integrations**

Integration is simple:

* One method swaps stSTX → stSTXbtc
* Another method swaps stSTXbtc → stSTX

When calling the contract, use the following `reserve` parameter: `SP4SZE494VC2YC5JYG7AYFQ44F5Q4PYV7DVMDPBG.reserve-v1`


---

# 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:

```
GET https://docs.stackingdao.com/stackingdao/core-contracts/swap-ststx-less-than-greater-than-ststxbtc.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.
