Prepares a transaction to call the "burn" function on the contract.
import { sendTransaction } from "thirdweb";import { burn } from "thirdweb/extensions/erc1155"; const transaction = burn({ contract, account: ..., id: ..., value: ..., overrides: { ... }}); // Send the transactionawait sendTransaction({ transaction, account });
function burn( >,
The options for the "burn" function.
A prepared transaction object.