getVotesWithParams

Calls the "getVotesWithParams" function on the contract.

Example

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

Parameters

The options for the getVotesWithParams function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.