Prepares a transaction to call the "castVoteWithReason" function on the contract.
import { sendTransaction } from "thirdweb";import { castVoteWithReason } from "thirdweb/extensions/vote"; const transaction = castVoteWithReason({ contract, proposalId: ..., support: ..., reason: ..., overrides: {   ... }}); // Send the transactionawait sendTransaction({ transaction, account });function castVoteWithReason(  >,The options for the "castVoteWithReason" function.
>;A prepared transaction object.