import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({
contract,
method: "function advanceNonce(uint8 amount)",
params: [amount]
});
const { transactionHash } = await sendTransaction({
transaction,
account
});