burnBatch

Prepares a transaction to call the "burnBatch" function on the contract.

Example

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

Parameters

Returns

A prepared transaction object.