Skip to main content

Erc1155Mintable class

Mint ERC1155 NFTs

Example

const contract = await sdk.getContract("{{contract_address}}");
await contract.edition.mint.to(walletAddress, nftMetadata);

Constructors

ConstructorModifiersDescription
(constructor)(erc1155, contractWrapper, storage)Constructs a new instance of the Erc1155Mintable class

Properties

PropertyModifiersTypeDescription
batchErc1155BatchMintable | undefinedBatch mint Tokens to many addresses
featureName"ERC1155Mintable"

Methods

MethodModifiersDescription
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.