Skip to main content

Type Alias: RemoveLiquidityDTO

gSwap SDK 2.0.0-rc.4


gSwap SDK 2.0.0-rc.4 / RemoveLiquidityDTO

Type Alias: RemoveLiquidityDTO

RemoveLiquidityDTO = V2PoolWriteBase & object & { withdrawalQuantityToken0: string; withdrawalQuantityToken1?: never; } | { withdrawalQuantityToken0?: never; withdrawalQuantityToken1: string; } | { withdrawalQuantityToken0?: never; withdrawalQuantityToken1?: never; }

Defined in: packages/gswap-sdk/dist/index.d.ts:2680

A v2 liquidity withdrawal; omitting both quantities closes the position.

Type Declaration​

tickLower​

tickLower: number

tickUpper​

tickUpper: number