proposalDeadline

Calls the "proposalDeadline" function on the contract.

Example

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

Parameters

The options for the proposalDeadline function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.