hasVoted

Calls the "hasVoted" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.