Skip to main content

Erc721Mintable class

Mint ERC721 NFTs

Example

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

Constructors

ConstructorModifiersDescription
(constructor)(erc721, contractWrapper, storage)Constructs a new instance of the Erc721Mintable class

Properties

PropertyModifiersTypeDescription
batchErc721BatchMintable | undefined
featureName"ERC721Mintable"

Methods

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