The initialize path creates the freeze escrow account that will hold the funds until all NFTs are thawed. It must be called before any NFTs can be minted.
initialize
route(umi, { // ... guard: 'freezeTokenPayment', routeArgs: { path: 'initialize', mint: tokenMint.publicKey, destinationAta, period: 15 * 24 * 60 * 60, // 15 days. candyGuardAuthority, },});
The authority of the Candy Guard as a Signer.
Selects the path to execute in the route instruction.
The freeze period in seconds (maximum 30 days).
Generated using TypeDoc
The
initialize
path creates the freeze escrow account that will hold the funds until all NFTs are thawed. It must be called before any NFTs can be minted.