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