DecreaseLiquidityQuoteParam:
    | { liquidity: bigint }
    | { tokenA: bigint }
    | { tokenB: bigint }

Represents the parameters for decreasing liquidity. You must choose only one of the properties (liquidity, tokenA, or tokenB). The SDK will compute the other two based on the input provided.

Type declaration

  • { liquidity: bigint }
    • liquidity: bigint

      The amount of liquidity to decrease.

  • { tokenA: bigint }
    • tokenA: bigint

      The amount of Token A to withdraw.

  • { tokenB: bigint }
    • tokenB: bigint

      The amount of Token B to withdraw.