---
title: "Get liquidity withdrawal quote"
method: GET
path: "/quoteLPWithdrawal/{tokenA}/{tokenB}"
tags: ["Liquidity"]
---

# Get liquidity withdrawal quote

`GET /quoteLPWithdrawal/{tokenA}/{tokenB}`

## Request

- Base URL: `https://api.tradecraft.fi/v1`
- URL: `https://api.tradecraft.fi/v1/quoteLPWithdrawal/{tokenA}/{tokenB}`
- Auth: none declared

Calculate how much of each token the user will receive when redeeming LP tokens.

## Path parameters

- `tokenA` 'CC' | 'USDCx' | 'CBTC' | 'cETH' | 'HANDL' | 'EDELx' | 'SBC', required
- `tokenB` 'CC' | 'USDCx' | 'CBTC' | 'cETH' | 'HANDL' | 'EDELx' | 'SBC', required

## Query parameters

- `lpTokenAmount` number, double, required

## Response `200`

Liquidity withdrawal quote

- QuoteLPWithdrawalResponse
  - `amount_instrument_1` number, double, required: Amount of instrument 1 to receive.
  - `amount_instrument_2` number, double, required: Amount of instrument 2 to receive.

## Other responses

- `400`: Invalid parameters or liquidity pool not found

---

[API](https://skmtc.dev/tradecraft/apis/tradecraft-amm-http-api.md) - [All operations](https://skmtc.dev/tradecraft/apis/tradecraft-amm-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tradecraft/apis/tradecraft-amm-http-api/revisions/d640e54c230b?raw)
