Soroswap.Finance Docs
  • Welcome 👋🏼
    • What is Soroswap Finance?
    • Getting Started
      • Wallet Setup and Connection
      • How to Swap
      • Provide Liquidity
      • How the Aggregator Works
  • Concepts
    • AMM
    • Liquidity Pools
    • Swap
    • Fees
    • Slippage
    • Router
    • SDEX
    • Aggregator
    • Trustlines
    • Advanced Topics
      • Pricing
      • Understanding Returns
      • Security
      • Research
  • Soroswap AMM (DEX)
    • How Soroswap AMM works
    • Ecosystem Participants
    • Audits
    • Technical Reference
      • Smart contracts
        • SoroswapPair
        • SoroswapFactory
        • SoroswapRouter
        • SoroswapLibrary
      • Deployed Addresses
      • Error Codes
      • Using Soroswap with TypeScript
      • Smart Contract Integration
      • Deploy Soroswap Yourself
        • Setup your environment.
        • Experiment the Pair contract
        • Experiment the Factory Contract.
        • Deployments.
        • Using the Soroswap Testnet
    • Glossary
  • Soroswap Aggregator
    • Supported AMMs
    • Audits
    • Technical Reference
      • How Soroswap Aggregator works
      • Design
      • Technical Overview
      • Aggregator Operation
      • Smart Contracts
        • SoroswapAggregator
        • Adapter Trait
        • SoroswapAdapter
      • Inspirations
        • 1inch
      • Other AMMs in Soroban
        • Phoenix
    • Disclaimer
  • Swap Route API
  • Soroswap Info
  • Tutorials
    • Installing Freighter
    • Soroswap sections
    • Adding Liquidity
    • Doing Swap
    • Remove Liquidity
    • Using Stellar Classic Assets
      • Wrapping Stellar Classic Assets
      • Swap Stellar Classic Assets
      • Test Stellar Classic Assets
    • Bridge using Pendulum
    • Conclusions
  • Partnerships
    • Collaboration with Mercury and SubQuery
    • Business Partnerships
  • Support & Resources
    • About Us
    • General FAQ
    • Additional Resources
Powered by GitBook
On this page
  • Step 1: Navigate to the Liquidity page
  • Step 2: Select the liquidity position
  • Step 3: Remove liquidity
  • Step 5: Confirm the transaction
  • Step 6: View the transaction details
Edit on GitHub
  1. Tutorials

Remove Liquidity

PreviousDoing SwapNextUsing Stellar Classic Assets

Last updated 8 months ago

Now that we have learned how to add liquidity and perform swaps on Soroswap, let's explore how to remove liquidity from our liquidity positions.

Step 1: Navigate to the Liquidity page

  1. Go to the Soroswap app and click on the "Liquidity" tab in the navigation menu.

Step 2: Select the liquidity position

  1. Find the liquidity position from which you want to remove liquidity.

  2. Click on the liquidity position to view its details.

You will see a modal displaying the liquidity pool information, balances, and your share of the pool.

  1. Click the "Remove" button to proceed to the remove liquidity page.

Step 3: Remove liquidity

  1. In the "Remove Liquidity" section, use the slider or enter the amount of liquidity you would like to remove.

  1. Click the "Remove" button.

  1. Review the details of the removal, including the amount of tokens you will receive.

  2. If everything looks correct, click the "Confirm" button.

Step 5: Confirm the transaction

  1. Your Freighter wallet will open, displaying the transaction details.

  2. Review the transaction information and click "Approve" to confirm the removal.

  3. Wait for the transaction to be confirmed on the blockchain.

Step 6: View the transaction details

  1. Once the transaction is confirmed, you will see a success message indicating that the liquidity removal was completed.

  2. You can also view the transaction details with the transaction hash or by clicking "View on explorer".

Congratulations! You have successfully removed liquidity from a pool on Soroswap. You can now explore other liquidity positions or continue to engage with the exciting world of decentralized finance.

Liquidity page
Select liquidity position
Remove liquidity
Confirm removal
Page cover image