Documentation
    Preparing search index...

    Type Alias ClosePositionParams

    Parameters to close a position in a Whirlpool.

    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.

    type ClosePositionParams = {
        position: PublicKey;
        positionAuthority: PublicKey;
        positionMint: PublicKey;
        positionTokenAccount: PublicKey;
        receiver: PublicKey;
    }
    Index

    Properties

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