proposalVotes

Calls the "proposalVotes" function on the contract.

Example

import { proposalVotes } from "thirdweb/extensions/vote";
const result = await proposalVotes({
contract,
proposalId: ...,
});
function proposalVotes(
): Promise<readonly [bigint, bigint, bigint]>;

Parameters

The options for the proposalVotes function.

Type

Returns

let returnType: Promise<readonly [bigint, bigint, bigint]>;

The parsed result of the function call.