ERC1155DirectMinterFacet

ERC1155DirectMinterFacet

Minting facet implementation for 1155 NFTs for admins.

erc1155DirectMint

function erc1155DirectMint(address to, uint256 tokenId, uint256 quanity) external

Mints an 1155 NFT with the specified quantity.

Parameters

Name
Type
Description

to

address

The address that should receive the NFT. If this is a contract, then the contract must be ERC1155 receiver conforming.

tokenId

uint256

The id of the token to mint.

quanity

uint256

The quanity of the tokens to mint.

Was this helpful?