Skip to main content

Type alias: RemoveLiquidityDTO

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

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

Type Declaration​

NameType
tickLowernumber
tickUppernumber