Prepares a transaction to call the "burnBatch" function on the contract.
import { burnBatch } from "thirdweb/extensions/erc1155"; const transaction = burnBatch({ contract, account: ..., ids: ..., values: ..., overrides: { ... }}); // Send the transaction...
function burnBatch( options: BaseTransactionOptions< BurnBatchParams | { asyncParams: () => Promise<BurnBatchParams> } >,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "burnBatch" function.
let options: BaseTransactionOptions< BurnBatchParams | { asyncParams: () => Promise<BurnBatchParams> }>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.