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