Skip to main content

sdk.erc721lazymint.mint

Home > @openformat/sdk > ERC721LazyMint > mint

ERC721LazyMint.mint() method

Mint a new ERC721 token with the given tokenURI to the specified recipient address. mint

Signature:

mint(params: ERC721LazyMint_MintParams): Promise<ContractReceipt>;

Parameters

ParameterTypeDescription
paramsERC721LazyMint_MintParams

Returns:

Promise<ContractReceipt>

{Promise<ContractReceipt>} - The transaction receipt object.

Exceptions

{Error} - Throws an error if the recipient address or tokenURI is invalid or if the transaction fails.