How to use Moralis Rarible Plugin to lazymint and store the NFTs in a particular collection (something I created) instead of the default Rarible collection?
Currently this is how my code looks like:
let result = await Moralis.Plugins.rarible.lazyMint({
chain: 'rinkeby',
userAddress: user.get("ethAddress"),
tokenType: 'ERC721',
tokenUri: 'https://gateway.pinata.cloud/ipfs/{baseuri_address}/4.json',
royaltiesAmount: 500, // 5% royalty. Optional
list: true, // Only if lazy listing
listTokenAmount: 1, // Only if lazy listing
listTokenValue: 10 ** 18, // Only if lazy listing
listAssetClass: 'ETH', // only if lazy listing || optional
How to use Moralis Rarible Plugin to lazymint and store the NFTs in a particular collection (something I created) instead of the default Rarible collection?
Currently this is how my code looks like:
let result = await Moralis.Plugins.rarible.lazyMint({ chain: 'rinkeby', userAddress: user.get("ethAddress"), tokenType: 'ERC721', tokenUri: 'https://gateway.pinata.cloud/ipfs/{baseuri_address}/4.json', royaltiesAmount: 500, // 5% royalty. Optional list: true, // Only if lazy listing listTokenAmount: 1, // Only if lazy listing listTokenValue: 10 ** 18, // Only if lazy listing listAssetClass: 'ETH', // only if lazy listing || optional
})