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

    Function updateFreezeAuthority

    • Update the freeze authority of a light-token mint. Works for both compressed and decompressed light mints.

      Parameters

      • rpc: Rpc

        RPC connection

      • payer: Signer

        Fee payer (signer)

      • mint: PublicKey

        Mint address

      • currentFreezeAuthority: Signer

        Current freeze authority (signer)

      • newFreezeAuthority: PublicKey | null

        New freeze authority (or null to revoke)

      • OptionalconfirmOptions: ConfirmOptions

        Optional confirm options

      Returns Promise<string>