Type alias DeleteCandyMachineV2Input

DeleteCandyMachineV2Input: {
    candyMachine: Pick<CandyMachineV2, "address" | "collectionMintAddress">;
    authority?: Signer;
}

Type declaration

  • candyMachine: Pick<CandyMachineV2, "address" | "collectionMintAddress">

    The Candy Machine to delete. We need the address of the Candy Machine as well as the address of the potential collection since we will need to delete the PDA account that links the Candy Machine to the collection.

    If the Candy Machine does not have a collection, simply set collectionMintAddress to null.

  • Optional authority?: Signer

    The Signer authorized to update the candy machine.

    Default Value

    metaplex.identity()

Generated using TypeDoc