quorumNumeratorByBlockNumber

Calls the "quorumDenominator" function on the contract with an extra param called blockNumber . This extension is similar to the quorumDenominator extension, except that it takes in a bigint (blockNumber)

Example

import { quorumNumeratorByBlockNumber } from "thirdweb/extensions/vote";
const result = await quorumNumeratorByBlockNumber({
contract,
blockNumber: 13232234232n,
});
function quorumNumeratorByBlockNumber(
options: BaseTransactionOptions<{ blockNumber: bigint }>,
): Promise<bigint>;

Parameters

The options for the quorumDenominator function.

Type

let options: BaseTransactionOptions<{ blockNumber: bigint }>;

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.