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