import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({
contract,
method: "function diamondCut((address facetAddress, uint8 action, bytes4[] functionSelectors)[] _diamondCut, address _init, bytes _calldata)",
params: [_diamondCut, _init, _calldata]
});
const { transactionHash } = await sendTransaction({
transaction,
account
});