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

    Function createLightTokenTransferInstruction

    • Create a light-token transfer instruction.

      For light-token accounts with compressible extension, the program needs system_program and fee_payer to handle rent top-ups.

      Parameters

      • source: PublicKey

        Source light-token account

      • destination: PublicKey

        Destination light-token account

      • owner: PublicKey

        Owner of the source account (signer, also pays for compressible extension top-ups)

      • amount: number | bigint

        Amount to transfer

      • OptionalfeePayer: PublicKey

        Optional fee payer for top-ups (defaults to owner)

      Returns TransactionInstruction

      Transaction instruction for light-token transfer