proposalSnapshot

Calls the "proposalSnapshot" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.