---
title: "Estimate gas and impact for removing liquidity"
method: GET
path: "/v1/trade/remove-liq-estimate"
tags: ["trade"]
---

# Estimate gas and impact for removing liquidity

`GET /v1/trade/remove-liq-estimate`

## Request

- Base URL: `https://swap-backend.stage.defi.ovh.gala.com`
- URL: `https://swap-backend.stage.defi.ovh.gala.com/v1/trade/remove-liq-estimate`
- Auth: none declared
- TypeScript: <https://skmtc.dev/gala/apis/gala-defi-backend-api/docs/v1/trade/remove-liq-estimate/get.ts> (a function with typed inputs; its response is checked against the schema)

Estimate gas and price impact for removing liquidity. Query params: token0, token1 (format: GALA$Unit$none$none), fee, tickLower, tickUpper, amount (the liquidity to remove), owner, optional positionId. Example: ?token0=GALA$Unit$none$none&token1=GUSDC$Unit$none$none&fee=3000&tickLower=-886800&tickUpper=886800&amount=1000&owner=eth|6742903677106B3156434F61f2731c3516B1aD68

## Query parameters

- `token0` TokenDTO, required
  - `collection` string, required
  - `category` string, required
  - `type` string, required
  - `additionalKey` string, required
- `token1` TokenDTO, required
  - `collection` string, required
  - `category` string, required
  - `type` string, required
  - `additionalKey` string, required
- `fee` 500 | 3000 | 10000, required
- `tickUpper` number, required
- `tickLower` number, required
- `tickRangeCheck` boolean
- `amount` string, required
- `owner` string, required
- `positionId` string

## Response `200`

Successful response

- BaseResponseDto
  - `status` number, required
  - `message` string, required
  - `error` object, required
  - `data` object, required

## Other responses

- `400`: Bad Request
- `default`: An error response using the shared backend error envelope.

---

[API](https://skmtc.dev/gala/apis/gala-defi-backend-api.md) - [All operations](https://skmtc.dev/gala/apis/gala-defi-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gala/apis/gala-defi-backend-api/revisions/84f8184e2828?raw)
