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

    Function revokeInterface

    • Revoke delegation for an associated token account.

      Supports light-token, SPL, and Token-2022 mints. For light-token mints, loads cold accounts if needed before sending the revoke instruction.

      Parameters

      • rpc: Rpc

        RPC connection

      • payer: Signer

        Fee payer (signer)

      • tokenAccount: PublicKey

        ATA address

      • mint: PublicKey

        Mint address

      • owner: Signer

        Owner of the token account (signer)

      • OptionalconfirmOptions: ConfirmOptions

        Optional confirm options

      • programId: PublicKey = LIGHT_TOKEN_PROGRAM_ID

        Token program ID (default: LIGHT_TOKEN_PROGRAM_ID)

      • Optionaloptions: InterfaceOptions

        Optional interface options (wrap is nested here)

      • Optionaldecimals: number

      Returns Promise<string>

      Transaction signature

      For light-token mints, all cold (compressed) balances are loaded into the hot ATA before the revoke instruction.