@lightprotocol/compressed-token - v0.23.3
    Preparing search index...

    Function createLightTokenThawAccountInstruction

    • Create an instruction to thaw (unfreeze) a frozen light-token account.

      Thawing restores the account state from AccountState::Frozen to AccountState::Initialized, re-enabling token operations. Only the mint's freeze_authority can thaw accounts.

      Account order per program: 0. token_account (mutable) - the frozen light-token account to thaw

      1. mint (readonly) - the mint associated with the token account
      2. freeze_authority - must match mint.freeze_authority (signer)

      Parameters

      • tokenAccount: PublicKey

        The frozen light-token account to thaw

      • mint: PublicKey

        The mint of the light-token account

      • freezeAuthority: PublicKey

        The freeze authority of the mint (signer)

      Returns TransactionInstruction

      TransactionInstruction