import { sendTransaction } from "thirdweb";
import { castVoteBySig } from "thirdweb/extensions/vote";
const transaction = castVoteBySig({
contract,
proposalId: ...,
support: ...,
v: ...,
r: ...,
s: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });