import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({
contract,
method: "function forward(bytes data) payable",
params: [data]
});
const { transactionHash } = await sendTransaction({
transaction,
account
});