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