Docs

burnBatch

Calls the "burnBatch" function on the contract.

Example

import { burnBatch } from "thirdweb/extensions/erc1155";
const transaction = burnBatch({
contract,
account: ...,
ids: ...,
values: ...,
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.