> ## Documentation Index
> Fetch the complete documentation index at: https://docs.soroswap.finance/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Soroswap Aggregator API: base URL https://api.soroswap.finance, pick the network with ?network=mainnet or ?network=testnet (omitted means mainnet).
> Auth: Authorization: Bearer sk_... on every call. Get a key at https://console.soroswap.finance/register. A missing or invalid key returns 401 with code and registerUrl (POST /send returns 403 instead); an expired JWT or a missing role returns 403. Free plan 1 request/s; see https://docs.soroswap.finance/api/plans.md.
> Flow: POST /quote (assetIn, assetOut as C... contract addresses, amount as an integer string in the smallest unit, tradeType, protocols) -> POST /quote/build with the unchanged quote and from -> the user signs the XDR -> POST /send. Build right after quoting: a Soroban XDR is valid for 180 seconds. Submit it as is, never re-simulate it.
> Partner id: every account has one (9 hex chars, permanent). Read partnerId from GET /partner, or in the console at https://console.soroswap.finance under Fees & payouts. The partner fee itself is switched on by Soroswap; see https://docs.soroswap.finance/api/fees.md.
> AI tools: docs MCP at https://docs.soroswap.finance/mcp (claude mcp add --transport http soroswap-docs https://docs.soroswap.finance/mcp), skill with npx skills add https://docs.soroswap.finance. Other clients: https://docs.soroswap.finance/api/build-with-ai.md.
> Units and Stellar pitfalls: https://docs.soroswap.finance/api/stellar-gotchas.md. Errors and retries: https://docs.soroswap.finance/api/errors.md.

# Soroswap sections

> Tour of the Soroswap interface: the Balance, Swap, and Liquidity sections and what each does.

Soroswap offers a user-friendly interface with various sections to enhance your crypto experience. Let's explore the key sections available:

## Balance Section

In the Balance section, you can conveniently view your token balances. This feature allows you to keep track of your assets and monitor their availability for transactions within the app.

> [!NOTE]
>
> When you are connected to testnet, this section also lets you mint test tokens so you can interact with the app without real funds. That minting button is a testnet only affordance, it is not available on mainnet.

The screenshot below shows the Balance section on testnet, with the minting option present:

![](https://mintcdn.com/soroswap/1xzCGA5zGx88_Gb9/images/tutorials/soroswap-sections/balance.png?fit=max\&auto=format\&n=1xzCGA5zGx88_Gb9\&q=85\&s=63ae6735d443b3c2d3343858077c430f)

## Swap Section

The Swap section is where the magic happens! Here, you can easily swap tokens that are part of the liquidity pool. Whether you're looking to exchange one token for another or simply diversify your portfolio, the Swap section provides a straightforward and efficient solution.

![](https://mintcdn.com/soroswap/1xzCGA5zGx88_Gb9/images/tutorials/soroswap-sections/swap.png?fit=max\&auto=format\&n=1xzCGA5zGx88_Gb9\&q=85\&s=7a75c04f29c381a52dc063469c8b987a)

## Liquidity Section

The Liquidity section empowers you to add or remove liquidity from the pools. By participating in liquidity provision, you contribute to the stability and efficiency of the Soroswap ecosystem. This section allows you to manage your liquidity positions effectively, ensuring a smooth and rewarding experience.

![](https://mintcdn.com/soroswap/1xzCGA5zGx88_Gb9/images/tutorials/soroswap-sections/liquidity.png?fit=max\&auto=format\&n=1xzCGA5zGx88_Gb9\&q=85\&s=406da195c50f0a74d7a0553d3f6f7229)

**Select a liquidity pool:** In this section, you can choose a specific liquidity pool to view its information and take further actions such as adding or removing liquidity.

![](https://mintcdn.com/soroswap/1xzCGA5zGx88_Gb9/images/tutorials/soroswap-sections/liquidity2.png?fit=max\&auto=format\&n=1xzCGA5zGx88_Gb9\&q=85\&s=da57b0c1f9e81e85c88630e5a4896ea6)

**Adding liquidity:** By accessing the "Adding liquidity" section, you can contribute to a liquidity pool by depositing values of two different tokens. This process helps maintain the balance and liquidity within the pool, allowing for efficient trading and transactions.

![](https://mintcdn.com/soroswap/1xzCGA5zGx88_Gb9/images/tutorials/soroswap-sections/addliquidity.png?fit=max\&auto=format\&n=1xzCGA5zGx88_Gb9\&q=85\&s=725fcb32d48d550acff9b11fe579285b)

**Removing liquidity:** In the "Removing liquidity" section, you have the option to withdraw your share of liquidity from a specific pool. This action allows you to reclaim your tokens and adjust your liquidity positions as needed.

![](https://mintcdn.com/soroswap/1xzCGA5zGx88_Gb9/images/tutorials/soroswap-sections/removeliquidity.png?fit=max\&auto=format\&n=1xzCGA5zGx88_Gb9\&q=85\&s=1b33ee6348705666362cb3d60d7dd399)

With these three essential sections, Soroswap offers a comprehensive platform for you to explore, trade, and engage with the world of cryptocurrencies. Now that we have familiarized ourselves with these sections, let's continue with the tutorial, where we will delve into each section in more detail. Get ready to dive deeper into Soroswap and discover the exciting features it has to offer!


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.