Calls the "proposals" function on the contract.
import { proposals } from "thirdweb/extensions/vote"; const result = await proposals({ contract, key: ...,});
function proposals( options: BaseTransactionOptions<ProposalsParams>,): Promise<readonly [bigint, string, bigint, bigint, string]>;
The options for the proposals function.
let options: BaseTransactionOptions<ProposalsParams>;
let returnType: Promise< readonly [bigint, string, bigint, bigint, string]>;
The parsed result of the function call.