Erc1155Mintable class
Mint ERC1155 NFTs
Example
const contract = await sdk.getContract("{{contract_address}}");
await contract.edition.mint.to(walletAddress, nftMetadata);
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(erc1155, contractWrapper, storage) | Constructs a new instance of the Erc1155Mintable class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
batch | Erc1155BatchMintable | undefined | Batch mint Tokens to many addresses | |
featureName | "ERC1155Mintable" |
Methods
Method | Modifiers | Description |
---|---|---|
additionalSupplyTo(to, tokenId, additionalSupply) | Increase the supply of an existing NFT and mint it to a given wallet address | |
getMintTransaction(to, metadataWithSupply) | ||
to(to, metadataWithSupply) | Mint an NFT with a limited supply |
Signature:
export declare class Erc1155Mintable implements DetectableFeature
Implements: DetectableFeature
Remarks
NFT minting functionality that handles IPFS storage for you.