votingDelay

Calls the "votingDelay" function on the contract.

Example

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

Parameters

The options for the votingDelay function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.