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

    Function removeMetadataKey

    • Remove a metadata key from 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

      • authority: Signer

        Metadata update authority (signer)

      • key: string

        Metadata key to remove

      • idempotent: boolean = false

        If true, don't error if key doesn't exist (default: false)

      • extensionIndex: number = 0

        Extension index (default: 0)

      • OptionalconfirmOptions: ConfirmOptions

        Optional confirm options

      Returns Promise<string>