Skip to main content

Erc1155SignatureMintable.mint() method

Mint a dynamically generated NFT

Example

// see how to craft a payload to sign in the `generate()` documentation
const signedPayload = contract.erc1155.signature.generate(payload);

// now anyone can mint the NFT
const tx = contract.erc1155.signature.mint(signedPayload);

Signature:

mint(signedPayload: SignedPayload1155): Promise<TransactionResultWithId>;

Parameters

ParameterTypeDescription
signedPayloadSignedPayload1155the previously generated payload and signature with Erc1155SignatureMintable.generate()

Returns:

Promise<TransactionResultWithId>

Remarks

Mint a dynamic NFT with a previously generated signature.