hashProposal

Calls the "hashProposal" function on the contract.

Example

import { hashProposal } from "thirdweb/extensions/vote";
const result = await hashProposal({
contract,
targets: ...,
values: ...,
calldatas: ...,
descriptionHash: ...,
});
function hashProposal(
): Promise<bigint>;

Parameters

The options for the hashProposal function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.