proposals

Calls the "proposals" function on the contract.

Example

import { proposals } from "thirdweb/extensions/vote";
const result = await proposals({
contract,
key: ...,
});

Parameters

Returns

The parsed result of the function call.