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