Specify which items to purchase with Hosted Checkout
lineItems
property. This guide explains how to configure item selection for different asset types.
lineItems
:
crossmint:<_YOUR_COLLECTION_ID_>
- For collections created in Crossmint Console (e.g. crossmint:9c82ef99-617f-497d-9abb-fd355291681b
)crossmint:<_YOUR_COLLECTION_ID_>:<_TEMPLATE_ID_>
- For collections created in Crossmint Console where a specific NFT template is desired (e.g. crossmint:9c82ef99-617f-497d-9abb-fd355291681b:silver-pass
)<blockchain>:<contract-address>
- Using direct contract addresses for external collections registered in Crossmint Console (e.g. ethereum:0x71c7656ec7ab88b098defb751b7401b5f6d897).callData
matches the
parameter name in your mint function. For example: If your mint function has the signature: mintTo(address _to, uint256 _amount)
then use _amount
instead of quantity
. See our Register External
Collection guide for details on registering your contract.buyerCreatorRoyaltyPercent
parameter controls how much of the creator royalty percentage the buyer pays when purchasing Solana NFTs through marketplaces.Marketplace Requirements:getAssetProof()
returns valid proof data