End Date Guard

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

After that date

minting will fail

Candy MachineOwner: Candy Machine Core ProgramCandy GuardOwner: Candy Guard ProgramGuardsendDate- Date...

Mint from

Candy Guard Program

Access Control

Mint from

Candy Machine Program

Mint Logic

Asset

React Flow

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

JavaScript

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.

Last updated