Documentation
    Preparing search index...

    Type Alias ClosePositionWithTokenExtensionsParams

    Parameters to close a position (based on Token-2022) 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 ClosePositionWithTokenExtensionsParams = {
        position: PublicKey;
        positionAuthority: PublicKey;
        positionMint: PublicKey;
        positionTokenAccount: PublicKey;
        receiver: PublicKey;
    }
    Index

    Properties

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