Core Candy Machine
Theme

Available Guards

End Date Guard

Overview

The End Date guard specifies a date to end the mint. After this date, minting is no longer allowed.

Guard Settings

The End Date guard contains the following settings:

  • Date: The date after which minting is no longer allowed.

Set up a Candy Machine using the End Date guard

import { dateTime } from "@metaplex-foundation/umi";

create(umi, {
  // ...
  guards: {
    endDate: some({ date: dateTime("2022-01-24T15:30:00.000Z") }),
  },
});

API References: create, EndDate

Mint Settings

The End Date guard does not need Mint Settings.

Route Instruction

The End Date guard does not support the route instruction.

Previous
Bot Tax