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