import { sendTransaction } from "thirdweb";
import { burnFrom } from "thirdweb/extensions/erc20";
 
const transaction = burnFrom({
 contract,
 account: ...,
 amount: ...,
 overrides: {
   ...
 }
});
 
// Send the transaction
await sendTransaction({ transaction, account });