Type Alias ClosePositionParams

ClosePositionParams: {
    position: PublicKey;
    positionAuthority: PublicKey;
    positionMint: PublicKey;
    positionTokenAccount: PublicKey;
    receiver: PublicKey;
}

Parameters to close a position in a Whirlpool.

Type declaration

  • position: PublicKey
  • positionAuthority: PublicKey
  • positionMint: PublicKey
  • positionTokenAccount: PublicKey
  • receiver: PublicKey

PublicKey for the wallet that will receive the rented lamports.

PublicKey for the position.

PublicKey for the mint token for the Position token.

The associated token address for the position token in the owners wallet.

Authority that owns the position token.