Type Alias DecreaseLiquidityV2Params

DecreaseLiquidityV2Params: {
    position: PublicKey;
    positionAuthority: PublicKey;
    positionTokenAccount: PublicKey;
    tickArrayLower: PublicKey;
    tickArrayUpper: PublicKey;
    tokenMintA: PublicKey;
    tokenMintB: PublicKey;
    tokenOwnerAccountA: PublicKey;
    tokenOwnerAccountB: PublicKey;
    tokenProgramA: PublicKey;
    tokenProgramB: PublicKey;
    tokenTransferHookAccountsA?: AccountMeta[];
    tokenTransferHookAccountsB?: AccountMeta[];
    tokenVaultA: PublicKey;
    tokenVaultB: PublicKey;
    whirlpool: PublicKey;
} & DecreaseLiquidityInput

Parameters to remove liquidity from a position.

The total amount of Liquidity the user is withdrawing

The minimum amount of token A to remove from the position.

The minimum amount of token B to remove from the position.

PublicKey for the whirlpool that the position will be opened for.

PublicKey for the position will be opened for.

PublicKey for the position token's associated token address.

authority that owns the token corresponding to this desired position.

PublicKey for the token A mint.

PublicKey for the token B mint.

PublicKey for the token A account that will be withdrawed from.

PublicKey for the token B account that will be withdrawed from.

PublicKey for the tokenA vault for this whirlpool.

PublicKey for the tokenB vault for this whirlpool.

Optional array of token transfer hook accounts for token A.

Optional array of token transfer hook accounts for token B.

PublicKey for the token program for token A.

PublicKey for the token program for token B.

PublicKey for the tick-array account that hosts the tick at the lower tick index.

PublicKey for the tick-array account that hosts the tick at the upper tick index.