Updates an existing Candy Guard account.
Note that the provided guards and groups will replace the existing ones.
guards
groups
const transactionBuilder = metaplex .candyMachines() .builders() .updateCandyGuard({ candyGuard: candyGuard.address, guards: { startDate: { date: toDateTime('2022-09-05T20:00:00.000Z') }, solPayment: { amount: sol(1.5), }, botTax: { lamports: sol(0.01), lastInstruction: true }, }, groups: [], });
Generated using TypeDoc
Updates an existing Candy Guard account.
Note that the provided
guards
andgroups
will replace the existing ones.