@lightprotocol/compressed-token - v0.23.0-beta.8
    Preparing search index...

    Function createMintToInterfaceInstruction

    • Create mint-to instruction for SPL, Token-2022, or light-token mints. This instruction ONLY mints to light-token associated token accounts (hot).

      For light-token mints, the light mint account must exist (mint must be decompressed first).

      Parameters

      • mintInterface: MintInterface

        Mint interface (SPL, Token-2022, or light-token).

      • destination: PublicKey

        Destination onchain token account address.

      • authority: PublicKey

        Mint authority public key.

      • payer: PublicKey

        Fee payer public key.

      • amount: number | bigint

        Amount to mint.

      • OptionalvalidityProof: ValidityProofWithContext

        Not used (legacy parameter, kept for compatibility).

      • multiSigners: PublicKey[] = []

        Multi-signature signer public keys (SPL/T22 only).

      Returns TransactionInstruction