proposalVotes

Calls the "proposalVotes" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.