Type alias CallCandyGuardRouteInput<Guard, Settings, RouteSettings>

CallCandyGuardRouteInput<Guard, Settings, RouteSettings>: {
    candyMachine: Pick<CandyMachine<Settings>, "address" | "candyGuard">;
    guard: Guard;
    settings: RouteSettings[Guard];
    group?: Option<string>;

Type Parameters

Type declaration

  • candyMachine: Pick<CandyMachine<Settings>, "address" | "candyGuard">

    The Candy Machine containing the guard we are interested in. We only need a subset of the CandyMachine model but we need enough information regarding its settings to know how to execute the route instruction on the guard.

    This includes its address and the Candy Guard account associated with it.

  • guard: Guard

    The guard to select on the Candy Machine.

    If the Candy Machine uses groups of guards, the group property must also be provided so we known which specific guard to select.

  • settings: RouteSettings[Guard]

    The route settings of the selected guard.

    These will depend on the type of guard selected but they will usually include a path property to distinguish between the different paths available within their "route" instruction.

  • Optional group?: Option<string>

    The label of the group to mint from.

    If groups are configured on the Candy Machine, you must specify a group label to mint from.

    When set to null it will mint using the default guards, provided no groups are configured.

    Default Value


Generated using TypeDoc