import { sendTransaction } from "thirdweb";
import { execute } from "thirdweb/extensions/vote";
const transaction = execute({
contract,
targets: ...,
values: ...,
calldatas: ...,
descriptionHash: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });