sdk.erc721lazymint.burn
Home > @openformat/sdk > ERC721LazyMint > burn
ERC721LazyMint.burn() method
Burns an ERC721 token with the specified token ID. burn
Signature:
burn(params: ERC721LazyMint_BurnParams): Promise<ContractReceipt>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| params | ERC721LazyMint_BurnParams |
Returns:
Promise<ContractReceipt>
{Promise<ContractReceipt>} - The transaction receipt for the burn operation.
Exceptions
{Error} - Throws an error if the burn operation fails.