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