Estimate gas and impact for removing liquidity
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
Request
- Base URLhttps://swap-backend.stage.defi.ovh.gala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
First token in the pool (format: collection$category$type$additionalKey)
Second token in the pool (format: collection$category$type$additionalKey)
Fee tier: 500 (0.05%), 3000 (0.3%), or 10000 (1%)
Owner wallet address (format: eth|<address> or client|<id>)
Position ID (for existing positions)
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.