proposalSnapshot

Calls the "proposalSnapshot" function on the contract.

Example

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

Parameters

The options for the proposalSnapshot function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.