Calls the "hasVoted" function on the contract.
import { hasVoted } from "thirdweb/extensions/vote"; const result = await hasVoted({ contract, proposalId: ..., account: ...,});
function hasVoted( options: BaseTransactionOptions<HasVotedParams>,): Promise<boolean>;
The options for the hasVoted function.
let options: BaseTransactionOptions<HasVotedParams>;
let returnType: Promise<boolean>;
The parsed result of the function call.