FreezeSolPaymentRouteArgsThaw: {
    destination: PublicKey<string>;
    nftMint: PublicKey<string>;
    nftOwner: PublicKey<string>;
    nftRuleSet?: undefined | PublicKey<string>;
    nftTokenStandard: TokenStandard;
    path: "thaw";
}

The thaw path unfreezes one NFT if one of the following conditions are met:

  • All NFTs have been minted.
  • The configured period has elapsed (max 30 days).
  • The Candy Machine account was deleted.

Anyone can call this instruction. Since the funds are not transferrable until all NFTs are thawed, it creates an incentive for the treasury to thaw all NFTs as soon as possible.

route(umi, {
// ...
guard: 'freezeSolPayment',
routeArgs: {
path: 'thaw',
destination,
nftMint,
nftOwner,
nftTokenStandard: candyMachine.tokenStandard,
},
});

Type declaration

  • destination: PublicKey<string>
  • nftMint: PublicKey<string>

    The mint address of the NFT to thaw.

  • nftOwner: PublicKey<string>

    The owner address of the NFT to thaw.

  • Optional nftRuleSet?: undefined | PublicKey<string>

    The ruleSet of the minted NFT, if any.

  • nftTokenStandard: TokenStandard

    The token standard of the minted NFT.

  • path: "thaw"

    Selects the path to execute in the route instruction.

Generated using TypeDoc