Erc721Mintable class
Mint ERC721 NFTs
Example
const contract = await sdk.getContract("{{contract_address}}");
await contract.nft.mint.to(walletAddress, nftMetadata);
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(erc721, contractWrapper, storage) | Constructs a new instance of the Erc721Mintable class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
batch | Erc721BatchMintable | undefined | ||
featureName | "ERC721Mintable" |
Methods
Method | Modifiers | Description |
---|---|---|
getMintTransaction(to, metadata) | ||
to(to, metadata) | Mint a unique NFT |
Signature:
export declare class Erc721Mintable implements DetectableFeature
Implements: DetectableFeature
Remarks
NFT minting functionality that handles IPFS storage for you.