ClosePositionInstructions: DecreaseLiquidityInstructions & {
    feesQuote: CollectFeesQuote;
    rewardsQuote: CollectRewardsQuote;
}

Represents the instructions and quotes for closing a liquidity position in an Orca Whirlpool. Extends DecreaseLiquidityInstructions and adds additional fee and reward details.

Type declaration

  • feesQuote: CollectFeesQuote

    The fees collected from the position, including the amounts for token A (fee_owed_a) and token B (fee_owed_b).

  • rewardsQuote: CollectRewardsQuote

    The rewards collected from the position, including up to three reward tokens (reward_owed_1, reward_owed_2, and reward_owed_3).