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
It is similar to the Asset Burn Guard but can accept more than one asset to burn.
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.
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 Candy Guard’s program documentation for more details.
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.