proposalIndex

Calls the "proposalIndex" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.