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

    Function createLightTokenRevokeInstruction

    • Create an instruction to revoke delegation for a light-token account.

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

      1. owner (signer) - owner of the token account
      2. system_program (readonly) - for rent top-ups via CPI
      3. fee_payer (mutable, signer) - pays for rent top-ups

      Parameters

      • tokenAccount: PublicKey

        The light-token account to revoke delegation on

      • owner: PublicKey

        Owner of the token account (signer)

      • OptionalfeePayer: PublicKey

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

      Returns TransactionInstruction

      TransactionInstruction