getVotesWithParams

Calls the "getVotesWithParams" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.