The Sol Payment guard allows us to charge the payer an amount in SOL when minting. Both the amount of SOL and the destination address can be configured.
The Sol Payment guard contains the following Mint Settings:
Destination: The address of the wallet that should receive all payments related to this guard.
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 Core Candy Guard’s program documentation for more details.
Mint with the Sol Payment Guard
JavaScript
You may pass the Mint Settings of the Sol Payment guard using the mintArgs argument like so.