getAllProposals

Calls the "getAllProposals" function on the contract.

Example

import { getAllProposals } from "thirdweb/extensions/vote";
const result = await getAllProposals({
contract,
});

Parameters

Returns

The parsed result of the function call.