Calls the "proposalIndex" function on the contract.
import { proposalIndex } from "thirdweb/extensions/vote"; const result = await proposalIndex({ contract,});
function proposalIndex( options: BaseTransactionOptions,): Promise<bigint>;
The options for the proposalIndex function.
let options: { contract: ThirdwebContract<abi> } & T;
let returnType: Promise<bigint>;
The parsed result of the function call.