Execute a Proposal
import { executeProposal } from "thirdweb/extensions/vote"; const transaction = executeProposal({ contract, proposalId });const tx = await sendTransaction({ transaction, account });
function executeProposal( options: BaseTransactionOptions<{ proposalId: bigint }>,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
let options: BaseTransactionOptions<{ proposalId: bigint }>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
a prepared transaction for the execute method
execute