hashProposal

Calls the "hashProposal" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.