Skip to main content

Function: buildRemoveLiquidityDto

buildRemoveLiquidityDto(input): RemoveLiquidityDTO

Builds the RemoveLiquidity DTO: at most one of withdrawalQuantityToken0 / withdrawalQuantityToken1; omitting both closes the position and sweeps its fees.

Parameters​

ParameterType
inputRemoveLiquidityInput

Returns​

RemoveLiquidityDTO