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