Asset Burn Multi
The Asset Burn Multi guard restricts the mint to holders of a predefined Collection and burns the holder's Asset(s). Thus, the address of the Asset(s) to burn must be provided by the payer when mintin
Last updated
The Asset Burn Multi guard restricts the mint to holders of a predefined Collection and burns the holder's Asset(s). Thus, the address of the Asset(s) to burn must be provided by the payer when mintin
Last updated
It is similar to the but can accept more than one asset to burn.
Burn n Asset(s)
from this collection
Candy Machine
Owner: Candy Machine Core Program
Candy Guard
Owner: Candy Guard Program
GuardsnftBurnMulti- Required Collection- Number...
Collection
Owner: Core Program
Mint from
Candy Guard Program
Access Control
Mint from
Candy Machine Program
Mint Logic
Asset
The Asset Burn guard contains the following settings:
Required Collection: The Address of the required Collection. The Asset we use to mint with must be part of this collection.
Number: The Amount of Assets that have to be burned in exchange for the new Asset.
Set up a Candy Machine using the Asset Burn Multi guard
JavaScript
The Asset Burn Multi guard contains the following Mint Settings:
Required Collection: The mint address of the required Collection.
[Address]: An Array of Addresses of the Asset(s) to burn. These must be part of the required collection and must belong to the minter.
Mint with the Asset Burn Multi Guard
JavaScript
You may pass the Mint Settings of the Asset Burn Multi guard using the mintArgs
argument like so.
The Asset Burn Multi guard does not support the route instruction.
API References: ,
Note that, if you’re planning on constructing instructions without the help of our SDKs, you will need to provide these Mint Settings and more as a combination of instruction arguments and remaining accounts. See the for more details.
API References: ,