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