Prepares a transaction to call the "propose" function on the contract.
import { propose } from "thirdweb/extensions/vote"; const transaction = propose({ contract, targets: ..., values: ..., calldatas: ..., description: ..., overrides: { ... }}); // Send the transaction...
function propose( options: BaseTransactionOptions< ProposeParams | { asyncParams: () => Promise<ProposeParams> } >,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "propose" function.
let options: BaseTransactionOptions< ProposeParams | { asyncParams: () => Promise<ProposeParams> }>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.